From 99a7f3587d6f69d70c2d9bafa268bf922bb9c2a7 Mon Sep 17 00:00:00 2001 From: ptkbf2lr5 <18759452262@163.com> Date: Wed, 18 Sep 2024 19:46:13 +0800 Subject: [PATCH] Update spider_main.py --- spider_main.py | 1 - 1 file changed, 1 deletion(-) 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)