[redgifs] "fix" download URLs (#2884)
This commit is contained in:
parent
3cb8327c60
commit
7f764ebee6
@ -53,6 +53,7 @@ class RedgifsExtractor(Extractor):
|
|||||||
for fmt in self.formats:
|
for fmt in self.formats:
|
||||||
url = urls.get(fmt)
|
url = urls.get(fmt)
|
||||||
if url:
|
if url:
|
||||||
|
url = url.replace("//thumbs2.", "//thumbs3.", 1)
|
||||||
text.nameext_from_url(url, gif)
|
text.nameext_from_url(url, gif)
|
||||||
yield url
|
yield url
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user