摘要: import osimport urllib import requests#import wximport time from fake_useragent import UserAgentfrom lxml import etreefrom urllib import request ua = 阅读全文
posted @ 2019-08-28 11:42 一蓑烟雨云 阅读(337) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python# #-*-coding:utf-8-*-import requestsimport randomimport timedef get_json(url): headers = { 'User-Agent': 'Mozilla/5.0 (X11; Linux 阅读全文
posted @ 2019-08-28 11:40 一蓑烟雨云 阅读(613) 评论(0) 推荐(0)
摘要: import requests import json # 爬虫原理 模拟浏览器 获取请求数据 #点击播放连接 #url = "https://www.ximalaya.com/revision/play/album?albumId=297790&pageNum=1&sort=1&pageSize= 阅读全文
posted @ 2019-08-28 11:21 一蓑烟雨云 阅读(368) 评论(0) 推荐(1)