提交 b557b003 编写于 作者: H hjdhnx

上级 4bb3753c
......@@ -35,6 +35,8 @@ class Spider(Spider): # 元类 默认的元类 type
rsp = self.fetch("https://cokemv.me/")
root = self.html(rsp.text)
aList = root.xpath("//div[@class='main']//div[contains(@class,'module-items')]/a")
# aList = jsp.pdfa(".main&&.module-items&&a")
# aList = jsp.pdfa(".main .module-items a")
videos = []
for a in aList:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册