From b557b003a7f171153ab768d042c869e2bbb3e633 Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Thu, 1 Dec 2022 15:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- txt/py/py_cokemv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/txt/py/py_cokemv.py b/txt/py/py_cokemv.py index 5c6dc46..c99463b 100644 --- a/txt/py/py_cokemv.py +++ b/txt/py/py_cokemv.py @@ -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: -- GitLab