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

@@ -41,7 +41,7 @@ class Imgur(BaseDownloader):
link = link.replace('i.imgur', 'imgur')
link = link.rstrip('.gifv')
res = Imgur.get_link(link, cookies={'over18': '1', 'postpagebeta': '0'})
res = Imgur.retrieve_url(link, cookies={'over18': '1', 'postpagebeta': '0'})
soup = bs4.BeautifulSoup(res.text, 'html.parser')
scripts = soup.find_all('script', attrs={'type': 'text/javascript'})