mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 12:24:51 +00:00
Add subdl beta
This commit is contained in:
parent
41a45dc95c
commit
0fb0dd7139
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ async def dlsub_callback(client, callback_query):
|
||||||
await asyncio.sleep(3)
|
await asyncio.sleep(3)
|
||||||
return await callback_query.message.delete()
|
return await callback_query.message.delete()
|
||||||
scraper = cloudscraper.create_scraper()
|
scraper = cloudscraper.create_scraper()
|
||||||
req = scraper.get("https://subscene.com/subtitles/the-big-bang-theory-first-season/english/136037").text
|
req = scraper.get(link).text
|
||||||
soup = BeautifulSoup(req,"lxml")
|
soup = BeautifulSoup(req,"lxml")
|
||||||
judul = soup.find("div", {"class": "bread"}).find("a").get("href").split("/")[4]
|
judul = soup.find("div", {"class": "bread"}).find("a").get("href").split("/")[4]
|
||||||
downloadlink = soup.find("div", {"class": "download"}).find('a')
|
downloadlink = soup.find("div", {"class": "download"}).find('a')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue