Add tests for GifDeliveryNetwork and Gfycat

This commit is contained in:
Serene-Arc
2021-02-26 19:45:03 +10:00
committed by Ali Parlakci
parent a55f35c025
commit 4146f181c7
3 changed files with 73 additions and 1 deletions

View File

@@ -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: