[redgifs] "fix" download URLs (#2884)

This commit is contained in:
Mike Fährmann
2022-09-01 21:45:36 +02:00
parent 3cb8327c60
commit 7f764ebee6

View File

@@ -53,6 +53,7 @@ class RedgifsExtractor(Extractor):
for fmt in self.formats:
url = urls.get(fmt)
if url:
url = url.replace("//thumbs2.", "//thumbs3.", 1)
text.nameext_from_url(url, gif)
yield url