From c7904395fe856bd9ae6b43fe98ab8a9c697b5c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=AB=E5=90=8D=E7=9A=84=E6=82=B2=E4=BC=A4?= <598500782@qq.com> Date: Fri, 24 Nov 2023 23:46:07 +0800 Subject: [PATCH] Update py_czspp.py --- py/py_czspp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/py/py_czspp.py b/py/py_czspp.py index d4ec0fd..245d2b0 100644 --- a/py/py_czspp.py +++ b/py/py_czspp.py @@ -56,7 +56,7 @@ class Spider(Spider): # 元类 默认的元类 type return result def categoryContent(self,tid,pg,filter,extend): result = {} - url = 'https://www.czys.me//{0}/page/{1}'.format(tid,pg) + url = 'https://www.czys.me/{0}/page/{1}'.format(tid,pg) rsp = self.fetch(url) root = self.html(rsp.text) aList = root.xpath("//div[contains(@class,'mi_cont')]//ul/li") @@ -82,7 +82,7 @@ class Spider(Spider): # 元类 默认的元类 type return result def detailContent(self,array): tid = array[0] - url = 'https://www.czys.me//movie/{0}.html'.format(tid) + url = 'https://www.czys.me/movie/{0}.html'.format(tid) rsp = self.fetch(url) root = self.html(rsp.text) node = root.xpath("//div[@class='dyxingq']")[0] @@ -153,7 +153,7 @@ class Spider(Spider): # 元类 默认的元类 type return result def searchContent(self,key,quick): - url = 'https://www.czys.me//xssearch?q={0}'.format(key) + url = 'https://www.czys.me/xssearch?q={0}'.format(key) # getHeader() rsp = self.fetch(url) root = self.html(rsp.text) @@ -195,7 +195,7 @@ class Spider(Spider): # 元类 默认的元类 type return msg[0:-paddingLen] def playerContent(self,flag,id,vipFlags): - url = 'https://www.czys.me//v_play/{0}.html'.format(id) + url = 'https://www.czys.me/v_play/{0}.html'.format(id) pat = '\\"([^\\"]+)\\";var [\\d\\w]+=function dncry.*md5.enc.Utf8.parse\\(\\"([\\d\\w]+)\\".*md5.enc.Utf8.parse\\(([\\d]+)\\)' rsp = self.fetch(url)