里面有 100 页的链接(links.txt)
这是我到目前为止的代码(它只保存一页)但是缺少保存所有 99 页的部分
import requests
import urllib.request, urllib.error, urllib.parse
with open('links.txt', 'r') as links:
for link in links:
response = urllib.request.urlopen(link)
webContent = response.read()
f = open('obo-t17800628-33.html', 'wb')
f.write(webContent)
f.close
吃鸡游戏
相关分类