Skip to content

Commit

Permalink
[twitter] include '4096x4096' as a default image fallback
Browse files Browse the repository at this point in the history
(closes #2107, closes #1881)
  • Loading branch information
mikf committed Dec 15, 2021
1 parent 8ed282f commit f587458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gallery_dl/extractor/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _init_sizes(self):
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(",")
Expand Down

0 comments on commit f587458

Please sign in to comment.