This commit is contained in:
lededev
2021-11-14 08:52:45 +08:00
parent 4d7aad19d0
commit 701cc954cb
5 changed files with 16 additions and 18 deletions

View File

@@ -34,10 +34,10 @@ def main(number: str):
)
soup = BeautifulSoup(result.text, "html.parser")
lx = html.fromstring(str(soup))
fanhao_pather = re.compile(r'<a href=".*?".*?><div class="id">(.*?)</div>')
fanhao = fanhao_pather.findall(result.text)
if "/?v=jav" in result.url:
dic = {
"title": get_title(lx, soup),