pyload-bookmarklet
pyload-bookmarklet copied to clipboard
Absolute URI not allowed if server is not a proxy.
I am getting this error in a popup opened after sending a link with the method 3.
Absolute URI not allowed if server is not a proxy.
Also I disabled the usr/psw login in my pyload instance and I see that the port is the same for the webui for the API, maybe something is changed from the last changes on this project?
Please check if it works with the recent changes
Also, make sure you are not running the web interface in development mode.
Updated the bookmarklet and pyload-ng and the error is still there. After picking the url, press to send to pyload blue button in the view, there is the request to allow the connection from https to http the new window is opened and there is that text and it is automatically closed. Maybe the new window shouldn't get closed if there is this error to help debug it. It is so flash that I am not sure about the url as example.
My changes on the bookmarklet are at the last line as written in the readme:
("http://192.168.10.12:3333/","username","password",1);
As my instance doesn't use user/psw.
Also I patched the file with https://github.com/pyload/pyload/commit/0628198bf5b0fb66c6d742bbe82e7c57cebb2270 but my guess doesn't work as user/password in my bookmarklet aren't empty but the error is still there if I set that values as empty.
Maybe the new window shouldn't get closed if there is this error to help debug it
Is is not possible because: To overcome CORS, the bookmarklet sends the POST request via a new window, The result is then displayed on that window, you cannot check what was the result.
So, because of that you cannot check the result, closing the window is done asynchronously on timeout.
For debugging proposes, you could use pyload_bookmarklet.js instead of pyload_bookmarklet.min.js
and comment out lines 265-267.
Thanks now I got an error Forbidden
on mode 1 on instance without password.
I have the latest commits changes https://github.com/pyload/pyload/commit/0628198bf5b0fb66c6d742bbe82e7c57cebb2270 on this file
I tried to reproduce your issue but I cannot.
Can you specify your configuration? is it remote pyload or maybe on your local computer?
It is a remote pyload in my LAN and after some search I see that the forbidden error is generated on this line https://github.com/pyload/pyload/blob/c23da07ba14fdc3b8d2e4c6f717f4837840aba24/src/pyload/webui/app/blueprints/cnl_blueprint.py#L34
Infact removing those lines let everything to work and the package was added.