Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
uk365 committed Jan 30, 2024
1 parent 086e05d commit e43b08e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
2 changes: 2 additions & 0 deletions FZBypass/core/bypass_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ async def direct_link_checker(link, onlylink=False):
return await sharespark(link)
elif bool(match(r"https?:\/\/.+\.1tamilmv\.\S+", link)):
return await tamilmv(link)
elif bool(match(r"https?:\/\/.+\.1tamilblasters\.\S+", link)):
return await tamilmv(link)

# DL Links
elif bool(match(r"https?:\/\/hubdrive\.\S+", link)):
Expand Down
27 changes: 2 additions & 25 deletions FZBypass/core/bypass_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ async def skymovieshd(url: str) -> str:
return gd_txt

async def cinevood(url: str) -> str:
soup = BeautifulSoup(rget(url).text, 'html.parser')
req=requests.get(url)
soup=bs(req.content,'html.parser')
titles = soup.select('h6')
links_by_title = {}

Expand Down Expand Up @@ -163,30 +164,6 @@ async def toonworld4all(url: str):

def re_findall(regex: str, text: str) -> List[str]:
return re.findall(regex, text)

# async def tamilmv(url):
# req=requests.get(url)
# soup=bs(req.content,'html.parser')
# magnets=soup.findAll('a')
# links=[]
# for i in magnets:
# #for no, i in enumerate(magnets, start=1):
# 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')})
# name = j.get_text()
# linkx = i.get('href')
# except:
# pass
# print(links)

# parse_data = f'''

# <code>{name}</code>
# ┖ <b>Links :</b> <a href="https://t.me/share/url?url={linkx}"><b>Magnet </b>🧲</a> | <a href="{linkx}"><b>Torrent 🌐</b></a>'''

# return parse_data


async def tamilmv(url):
Expand Down

0 comments on commit e43b08e

Please sign in to comment.