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

@@ -30,7 +30,7 @@ class Redgifs(GifDeliveryNetwork):
' Chrome/67.0.3396.87 Safari/537.36 OPR/54.0.2952.64',
}
page = Redgifs.get_link(url, headers=headers)
page = Redgifs.retrieve_url(url, headers=headers)
soup = BeautifulSoup(page.text, 'html.parser')
content = soup.find('script', attrs={'data-react-helmet': 'true', 'type': 'application/ld+json'})