随笔分类 - 爬虫
摘要:from bs4 import BeautifulSoupfrom urllib import requestimport requests# 确定网址url = 'http://www.meinvtieba.com/meinv/7066/%d'# 构造请求头headers = {}def main
        阅读全文
            
摘要:import requests,re# 确定访问地址url = "https://tieba.baidu.com/p/5838004691"# 构造请求头信息headers = { 'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) Appl
        阅读全文
            
                    
                
浙公网安备 33010602011771号