-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed EZTV plugin #291
Fixed EZTV plugin #291
Conversation
@ducalex Does the URL need to be changed as per #267 (comment)? |
It requires a post parameter in order to get magnet links
658b48f
to
42fbcc1
Compare
Yes it does. I didn't want to interfere with the other PR work but it's silly, I've now updated the URL in this PR as well :). |
When this happens/will test this plugin PR. |
1a9f683
to
30e878c
Compare
I've updated the code so that it tries Unfortunately the linter is complaining about my usage of urllib and I'm unsure how to fix this, any ideas? |
It also seem to me that this |
e2a94a1
to
9a14d54
Compare
9a14d54
to
7e5504d
Compare
Thanks I've added the nosec, seems to do the trick :)
I will let you do it if you don't mind, because I'm not sure what to say as the reason why we're disabling it. |
There's another PR to fix it, #267, but keeping track of cookies and random user agent doesn't seem necessary for me. Maybe the protection kicks in when using a VPN?
In any case, there is now an additional requirement of also doing a POST to request links to be shown.
This PR adds that.
It is dependant on this PR being accepted in qBittorrent: qbittorrent/qBittorrent#21184But, like #267, I can also bundle the patched retrieve_url with POST support in the plugin, so that it works for everybody...I've updated the code to fall back to raw urllib, it should work regardless of the user's helpers.py version (or if the qbt PR is rejected).