爬取网易云音乐爬虫代码报错提问
源自https://fishc.com.cn/thread-201379-1-1.html 0HB大佬的爬虫作品,在WyyGetID.py第80行中,s-fc7为什么会报错?(麻烦自己看一下,我不配发URL,我不配发源代码{:10_266:} ) text = {"hlpretag": "<span class="s-fc7">","hlposttag": "</span>",
"#/discover": "",
"s": s,
"type": type,
"offset": offset,
"total": "true",
"limit": "30",
"csrf_token": ""}
改成
text = {"hlpretag": "<span class=\"s-fc7\">",
"hlposttag": "</span>",
"#/discover": "",
"s": s,
"type": type,
"offset": offset,
"total": "true",
"limit": "30",
"csrf_token": ""}
就彳亍了,因为那个字符串里多了两个 " {:10_256:} xiaosi4081 发表于 2022-11-6 17:36
改成
怎么看不出来区别哇?~ xiaosi4081 发表于 2022-11-6 17:36
改成
而且还是报错 确实 我这运行的也是继续报错
页:
[1]