Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 13cb1c9b authored by miigotu's avatar miigotu Committed by GitHub
Browse files

Fix yggtorrent login (from user:phtagn) (#4239)


* Fixed authentication issue + search query

Fixed the authentication issue. Ygg has updated their page and the 'logout' text was replaced with an icon. The original script was searching for word 'logout'. Replaced this with searching for the username in the accounts page.
Started a bit of sanitizing of the search query. For example, ygg does not accept single quote ' like this one.
TODO : finish with sanitizing of search query

* Better handling of login detection. The previous patch had a risk of misdetection in case the username was present in the page anyway (e.g. a user called href :) ).

* Following comments, amending yggtorrents.py for performance and cleanup

* An incorrect import was automatically generated by my IDE, removing

* Fix imports for isort so build passes

Signed-off-by: default avatarmiigotu <miigotu@gmail.com>
parent fc745186
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment