diff --git a/spider_main.py b/spider_main.py index 85f970e..1ea6a15 100644 --- a/spider_main.py +++ b/spider_main.py @@ -34,7 +34,6 @@ def video_cid(num2): response.encoding = response.apparent_encoding content = json.loads(response.text)# 获取cid号 datalist = [] -# if "data" in content and "cid" in content["data"][0]: cid = content["data"][0]["cid"] if isinstance(cid, list): datalist.extend(cid)