Skip to content
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

The download and login no longer work #53

Open
Askadelion opened this issue Apr 15, 2022 · 2 comments
Open

The download and login no longer work #53

Askadelion opened this issue Apr 15, 2022 · 2 comments

Comments

@Askadelion
Copy link

The download and login no longer work, the following error occurs.


Password(don't worry the password are typing but hidden:
Traceback (most recent call last):
  File "D:\CRD-PY3\crunchy-xml-decoder-py3.py", line 363, in <module>
    check_cookies()
  File "D:\CRD-PY3\crunchy-xml-decoder-py3.py", line 88, in check_cookies
    login(username, password)
  File "crunchy-xml-decoder\login.py", line 278, in login
    generate_sess_id = create_sess_id()
  File "crunchy-xml-decoder\login.py", line 242, in create_sess_id
    sess_id_data = session.post('http://api.crunchyroll.com/start_session.0.json', proxies=proxies, params=payload).json()['data']
KeyError: 'data'

Code Version=1.3 rev.29 (Up-To-Date)

@nigoki2
Copy link

nigoki2 commented Apr 16, 2022

Hi.
Same error for me.
Please help us alzamer2!

@Teredic
Copy link

Teredic commented Oct 17, 2022

i have found a fix for the login.

Inside 'login.py', lines 177-179, Replace this :

payload = {'device_id': device_id, 'api_ver': '1.0', 'device_type': 'com.crunchyroll.crunchyroid', 'access_token': 'WveH9VkPLrXvuNm', 'version': '2313.8', 'locale': 'jaJP', 'duration': '9999999999'}

by this :

payload = {'device_id': device_id, 'api_ver': '1.0', 'device_type': 'com.crunchyroll.windows.desktop', 'access_token': 'LNDJgOit5yaRIWN', 'version': '2313.8', 'locale': 'jaJP', 'duration': '9999999999'}

But downloading still doesn't work because of cloudflare's captcha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants