Switch redgifs to dynamic file extensions

This commit is contained in:
Serene-Arc committed 2022-02-20 15:48:02 +10:00
1 parent 160ee372b9
commit 06988c40b3
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ class Redgifs(BaseDownloader):
def find_resources(self, authenticator: Optional[SiteAuthenticator] = None) -> list[Resource]: def find_resources(self, authenticator: Optional[SiteAuthenticator] = None) -> list[Resource]:
media_urls = self._get_link(self.post.url) media_urls = self._get_link(self.post.url)
return [Resource(self.post, m, Resource.retry_download(m), '.mp4') for m in media_urls] return [Resource(self.post, m, Resource.retry_download(m), None) for m in media_urls]
@staticmethod @staticmethod
def _get_link(url: str) -> set[str]: def _get_link(url: str) -> set[str]: