8000 Can't download from DC: KeyError: 'data' · Issue #22 · jo1gi/grawlix · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't download from DC: KeyError: 'data' #22

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

Open
JOLLY6R33NGIANT opened this issue Dec 12, 2024 · 0 comments
Open

Can't download from DC: KeyError: 'data' #22

JOLLY6R33NGIANT opened this issue Dec 12, 2024 · 0 comments

Comments

@JOLLY6R33NGIANT
Copy link

I am unable to get it to download from DC Infinite. Whenever I try to run a command I get this output:

`grawlix --cookies "C:\Users\USERNAME\Downloads\cookies-www-dcuniverseinfinite-com.txt" "https://www.dcuniverseinfinite.com/comics/book/dark-nights-death-metal-2020-1/2e69f15a-5919-4d34-bd0f-b4e20bf5bbe9/c"

Authenticating with source DC Universe Infinite
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\USERNAME\AppData\Roaming\Python\Python312\Scripts\grawlix.exe_main
.py", line 7, in
File "C:\Users\USERNAME\AppData\Roaming\Python\Python312\site-packages\grawlix_main
.py", line 164, in run
asyncio.run(main())
File "C:\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Roaming\Python\Python312\site-packages\grawlix_main
.py", line 116, in main
result = await source.download(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Roaming\Python\Python312\site-packages\grawlix\sources\dcuniverseinfinite.py", line 32, in download
self.plan = await self.download_plan()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Roaming\Python\Python312\site-packages\grawlix\sources\dcuniverseinfinite.py", line 149, in download_plan
return response.json()["data"]["urn:df:clm:premium"]["plan"]
~~~~~~~~~~~~~~~^^^^^^^^
KeyError: 'data'`

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

1 participant
0