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:
parent
8ed282f7f2
commit
f587458a3c
@ -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
|
||||
|
@ -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(",")
|
||||
|
Loading…
Reference in New Issue
Block a user