1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[twitter] include '4096x4096' as a default image fallback

(closes #2107, closes #1881)
This commit is contained in:
Mike Fährmann 2021-12-15 23:17:07 +01:00
parent 8ed282f7f2
commit f587458a3c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 2 deletions

View File

@ -2022,7 +2022,7 @@ extractor.twitter.size
Type
``list`` of ``strings``
Default
``["orig", "large", "medium", "small"]``
``["orig", "4096x4096", "large", "medium", "small"]``
Description
The image version to download.
Any entries after the first one will be used for potential

View File

@ -47,7 +47,7 @@ class TwitterExtractor(Extractor):
size = self.config("size")
if size is None:
self._size_image = "orig"
self._size_fallback = ("large", "medium", "small")
self._size_fallback = ("4096x4096", "large", "medium", "small")
else:
if isinstance(size, str):
size = size.split(",")