einstein95 / crunchy-xml-decoder

GNU General Public License v2.0
35 stars 14 forks source link

Login failed message #69

Closed johnfigs closed 7 years ago

johnfigs commented 7 years ago

I have a trial account until August 9. I tried to log in as a premium user and receive the 'Login failed' message. Any fixes for this or is the problem with the trial account?

Thank You

rcyclope commented 7 years ago

no pb for me the login work fine have you try this : site = session.get('https://www.crunchyroll.com/acct/membership/', headers=headers, verify=True).text You need to change it to site = session.get('https://www.crunchyroll.com/acct/membership', headers=headers, verify=True).text

line 20 in login.py

iCertys commented 7 years ago

@rcyclope Problem was answert in #63

It was to add: elif re.search(re.escape(' ga(\'set\', \'dimension5\', \'freetrail\');'), site): status = 'Premium Member'

after line 29.