BitTheByte/YouTubeShop

Failed logins

sohanzz opened this issue · 6 comments

I used python 2.7.15 as recommended but having issue with login

yy

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