mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
Tes
This commit is contained in:
parent
6f7d97be17
commit
9f2d2797ff
1 changed files with 0 additions and 1 deletions
|
|
@ -1005,7 +1005,6 @@ async def melong_scrap(_, callback_query):
|
||||||
soup = BeautifulSoup(html.text, "lxml")
|
soup = BeautifulSoup(html.text, "lxml")
|
||||||
rep = ""
|
rep = ""
|
||||||
for ep in soup.findAll(text=re.compile(r"(?i)episode\s+\d+|LINK DOWNLOAD")):
|
for ep in soup.findAll(text=re.compile(r"(?i)episode\s+\d+|LINK DOWNLOAD")):
|
||||||
res = "".join(f"{i.text}\n{i['href']}\n\n" for i in res)
|
|
||||||
hardsub = ep.findPrevious("div")
|
hardsub = ep.findPrevious("div")
|
||||||
softsub = ep.findNext("div")
|
softsub = ep.findNext("div")
|
||||||
rep += f"{hardsub}\n{softsub}"
|
rep += f"{hardsub}\n{softsub}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue