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

[Deviantart] Deviations where deviation.videos exists but is empty causes error. #1796

Closed
Wiiplay123 opened this issue Aug 25, 2021 · 0 comments
Labels

Comments

@Wiiplay123
Copy link
Contributor

Wiiplay123 commented Aug 25, 2021

I've encountered a deviation which causes this to happen, and people in the comments section are complaining that the video won't play, so it's not just a gallery-dl issue.

To fix this, all you have to do is put a check at line 119 of extractor/deviantart.py.

Example:
if "videos" in deviation and len(deviation["videos"]) > 0:

EDIT: The error is "max() arg is an empty sequence"

@mikf mikf closed this as completed in a4f249c Aug 26, 2021
@mikf mikf added the bug label Aug 26, 2021
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