Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
uk365 authored Jan 30, 2024
1 parent e6a6546 commit f1ac23a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions FZBypass/core/bypass_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,18 @@ async def tamilmv(url):
links=[]
for i in magnets:
try:
# if i.get_text()=="MAGNET" or i.find('img').get('alt')=="magnet.png":
# j=i.find_previous_sibling('strong')
# links.append({"name":j.get_text(),"link":i.get('href')})
magnets = re_findall(MAGNET_REGEX, i.text)
if i.get_text()=="MAGNET" or i.find('img').get('alt')=="magnet.png":
j=i.find_previous_sibling('strong')
links.append({"name":j.get_text(),"link":i.get('href')})
ax = re_findall(MAGNET_REGEX, i.text)
except:
pass

print(i)
#print(i)
# print(i.get_text())
# print(i.get('href'))
print(i.get('href'))

return magnets
return ax



Expand Down

0 comments on commit f1ac23a

Please sign in to comment.