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

[kemono] KeyError - 'name' #2276

Closed
TestPolygon opened this issue Feb 8, 2022 · 0 comments
Closed

[kemono] KeyError - 'name' #2276

TestPolygon opened this issue Feb 8, 2022 · 0 comments
Labels

Comments

@TestPolygon
Copy link

TestPolygon commented Feb 8, 2022

It fails on some subscribestar posts.

kemonoparty][debug]
Traceback (most recent call last):
  File "C:\Users\Username\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py", line 76, in run
    for msg in extractor:
  File "C:\Users\Username\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\extractor\kemonoparty.py", line 103, in items
    text.nameext_from_url(file["name"], post)
KeyError: 'name'

It looks it happens when the old formatted URL is used.

    "file": {
      "path": "/attachments/subscribestar/username/12345/filename.png"
    },
@mikf mikf added the bug label Feb 8, 2022
@mikf mikf closed this as completed in a57a44f Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants