摘要: import requestsimport re #正则表达式模块url = 'https://api.bilibili.com/x/v1/dm/list.so?oid=460329133'#1 发送请求#请求方式的注意是get或者post#还有参数#headers请求头作用是吧python代码进行 阅读全文
posted @ 2022-01-04 15:19 凋零_( 阅读(43) 评论(0) 推荐(0)
摘要: import requests import time from bs4 import BeautifulSoup import json # 必要的库 def get_html(url): headers = { 'accept': 'text/html,application/xhtml+xml 阅读全文
posted @ 2022-01-04 14:53 凋零_( 阅读(235) 评论(0) 推荐(1)