Skip to content

[deviantart] handle missing 'src' in deviation_download response#9385

Open
thakoreh wants to merge 1 commit intomikf:masterfrom
thakoreh:fix/deviantart-missing-src
Open

[deviantart] handle missing 'src' in deviation_download response#9385
thakoreh wants to merge 1 commit intomikf:masterfrom
thakoreh:fix/deviantart-missing-src

Conversation

@thakoreh
Copy link
Copy Markdown

@thakoreh thakoreh commented Apr 8, 2026

The deviation_download API can return a response without a "src" field
when the download limit is hit or when content is subscriber-only.
This causes a KeyError crash in commit().

Instead of crashing, log a warning and skip the download attempt.
If the deviation has a video counterpart, it will still be picked up
by the videos block below.

Fixes #9307
Related: #9072

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

Successfully merging this pull request may close these issues.

[DeviantArt] KeyError: 'src' when downloading videos off DeviantArt

1 participant