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. |
||
---|---|---|
.. | ||
archive_entry | ||
integration_tests | ||
site_downloaders | ||
__init__.py | ||
conftest.py | ||
test_archiver.py | ||
test_configuration.py | ||
test_connector.py | ||
test_download_filter.py | ||
test_downloader.py | ||
test_file_name_formatter.py | ||
test_oauth2.py | ||
test_resource.py |