
python
木槿花better
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python爬虫入门xpath
import requests import csv import os from lxml import etree def getHtml(name, page): url = "https://search.jd.com/Search?" parmas = {"keyword": name, "enc": "utf-8", "page": page} heade...原创 2019-11-29 11:17:19 · 389 阅读 · 0 评论 -
python爬虫入门
import re import requests def fun(first): #http://www.mmonly.cc/gqbz/list_41_345.html url = "http://www.mmonly.cc/gqbz/list_41_"+first+".html"#10-70 1-7 res = requests.get(url=url) ht...原创 2019-11-28 18:37:53 · 397 阅读 · 0 评论