摘要:
爬去300个租房信息页 代码如下 coding: utf 8 import time import requests from bs4 import BeautifulSoup page = 0 limit_count = 300 crawl_list = [] headers = { 'Conte 阅读全文
摘要:
python爬虫 小猪短租的租房信息 利用requests获取网页 利用Beautifulsoup4和lxml解析网页 具体代码如下 from bs4 import BeautifulSoup import requests url = 'http://bj.xiaozhu.com/fangzi/1 阅读全文