Rename function

This commit is contained in:
Serene-Arc
2021-04-06 10:48:21 +10:00
committed by Ali Parlakci
parent 1768096b85
commit 9cb4dd4cf3
7 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ class Gfycat(GifDeliveryNetwork):
gfycat_id = re.match(r'.*/(.*?)/?$', url).group(1)
url = 'https://gfycat.com/' + gfycat_id
response = Gfycat.get_link(url)
response = Gfycat.retrieve_url(url)
if 'gifdeliverynetwork' in response.url:
return GifDeliveryNetwork._get_link(url)