33312687ac
Some imgur URLS have the extension ".gifv" and show up as a gif, even though they're actually supposed to be mp4 videos. Imgur serves all videos/gifs as both .gif and .mp4. The image dict has a key "prefer_video" to distinguish the two. This commit overrides the .gif extension if "prefer_video" is true to ensure we download the submission as originally intended. |
||
---|---|---|
.. | ||
fallback_downloaders | ||
__init__.py | ||
test_direct.py | ||
test_download_factory.py | ||
test_erome.py | ||
test_gallery.py | ||
test_gfycat.py | ||
test_imgur.py | ||
test_pornhub.py | ||
test_redgifs.py | ||
test_self_post.py | ||
test_vidble.py | ||
test_youtube.py |