
python爬虫
清醒思考
有问题可以私信我.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
下载36氪 播氪的音频
#coding=utf-8import re,urllib2,os,urllib,requestsdef getHtmlCode(url): response = urllib2.urlopen(url) return response.read()def getEntityId(htmlString): regEntityId = re.compile("\"(.+?)\原创 2017-07-26 17:28:19 · 489 阅读 · 0 评论 -
下载开眼的视频
import json, requests, osimport urllibresults = {}strategys = ['weekly', 'monthly', 'historical']for strategy in strategys: url = 'https://baobab.kaiyanapp.com/api/v4/rankList/videos?start=0&...原创 2018-07-21 14:30:32 · 1265 阅读 · 0 评论