Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentDemonSD authored Nov 3, 2022
1 parent c384ef0 commit 6af406a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/modules/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def scrapper(update, context):
soup = BeautifulSoup(res.text, 'html.parser')
x = soup.select('a[href^="/exit.php?url="]')
y = soup.select('h5')
z = unquote(link.split('/')[-2]).split('-')[0] if url.endswith('/') else unquote(link.split('/')[-1]).split('-')[0]
z = unquote(link.split('/')[-2]).split('-')[0] if link.endswith('/') else unquote(link.split('/')[-1]).split('-')[0]

for a in x:
links.append(a['href'])
Expand Down

0 comments on commit 6af406a

Please sign in to comment.