Failed logins
sohanzz opened this issue · 6 comments
Hi @sohanzz
Thanks for reaching out to me.
Google sometimes block the login request If it's too fast or suspicious. Also i created the tool from my own device requests which includes my country so if you used accounts created at origin other than mine (which is Egypt) they might get blocked.
Any suggestion which part of the script should i tweak to adjust according to my country (Bangladesh)?
Edit lib/auth.py
according to your need don't forget to edit the hl parameter and the hosts
Can you guide through the process which variables should i change and how to get the correct values for my region?!
I updated to code base to be more generic. e942de1
You need to replace any EG
to your county code name. use the ISO2 standard from here
Change EG
at this lines:
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L34
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L36
I made changes and replace with my county code name in the following lines
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L26
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L34
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L36
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L76
https://github.com/BitTheByte/YouTubeShop/blob/master/lib/auth.py#L82
Still facing the same problem with UNAUTH