Add tests for GifDeliveryNetwork and Gfycat

This commit is contained in:
Serene-Arc authored and Ali Parlakci committed 2021-04-18 16:44:05 +03:00
1 parent a55f35c025
commit 4146f181c7
3 files changed
+73 -1

No files matched your search

@@ -22,7 +22,7 @@ class GifDeliveryNetwork(BaseDownloader):
except IndexError:
raise NotADownloadableLinkError("Could not read the page source")
return [Resource(self.post, media_url)]
return [Resource(self.post, media_url, '.mp4')]
@staticmethod
def _get_link(url: str) -> str: