摘要:
# encoding:utf-8 from bs4 import BeautifulSoup import requests import csv import bs4 # 检查url地址 def check_link(url): try: r = requests.get(url) r.raise 阅读全文
摘要:
# encoding:utf-8 import os import requests from bs4 import BeautifulSoup #爬虫头数据 cookies = { 'SINAGLOBAL': '6797875236621.702.1603159218040', 'SUB': '_ 阅读全文
摘要:
# encoding:utf-8 import requests import csv headers = { 'cookie':'device_id=02a63e162n=0035d9dae1eded6e3=1666944669347886', 'User-Agent': 'Mozilla/5.0 阅读全文