python爬虫
你的破壁人呀
people come and go,my heart will go on
展开
-
去哪儿网酒店信息采集
# -*- coding: utf-8 -*- import urllib.request from bs4 import BeautifulSoup import csv import re #dizhi_url=['hohhot103','baotou114','chifeng202','tongliao458','ulanhot484','xilinhot500','manzho...原创 2019-08-16 11:31:02 · 937 阅读 · 0 评论 -
携程酒店信息采集
import urllib.request from bs4 import BeautifulSoup import csv import re def openlink(link): maxTryNum=20 for tries in range(maxTryNum): try: response = urllib.request....原创 2019-08-16 11:31:48 · 2159 阅读 · 2 评论