摘要: 接口直接返回的是json数据格式,那就不用去findall各种class了直接处理json数据保存即可 Request URL: https://api.bilibili.com/x/space/arc/search?mid=390461123&ps=30&tid=0&pn=17&keyword=& 阅读全文
posted @ 2021-11-23 15:05 御世制人 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: import urllib.request import re import os import urllib def get_html(url): page = urllib.request.urlopen(url) html_a = page.read() return html_a.decod 阅读全文
posted @ 2021-11-23 14:08 御世制人 阅读(306) 评论(0) 推荐(0) 编辑