上一页 1 ··· 3 4 5 6 7
摘要: import reimport requestsimport jsonclass Search: def __init__(self, song): ''' self.vkey_url > 获取vkey的url self.search_url > 获取歌曲列表的url self.lyric_url 阅读全文
posted @ 2019-03-08 08:55 葵儿啊 阅读(539) 评论(0) 推荐(0) 编辑
摘要: import requestsimport jsonclass KuGou: def __init__(self, search_kw): ''' self.search_url --> 搜索URL self.hash_url > 传入hash获得歌曲url与歌词 :param search_kw: 阅读全文
posted @ 2019-03-08 08:54 葵儿啊 阅读(350) 评论(0) 推荐(0) 编辑
摘要: import base64import randomfrom binascii import hexlifyfrom Crypto.Cipher import AESimport jsonimport requestsclass GetMusic: def __init__(self): self. 阅读全文
posted @ 2019-03-08 08:53 葵儿啊 阅读(531) 评论(0) 推荐(0) 编辑
摘要: import requestsimport jsonstart_url ='https://www.ximalaya.com/revision/play/album?albumId=3595841&pageNum={}&sort=-1&pageSize=30'count=1num=1for coun 阅读全文
posted @ 2019-03-07 20:42 葵儿啊 阅读(237) 评论(0) 推荐(0) 编辑
摘要: import requestsimport jsonstart_url ='https://www.ximalaya.com/revision/play/album?albumId=3595841&pageNum={}&sort=-1&pageSize=30'count=1num=1for coun 阅读全文
posted @ 2019-03-07 19:39 葵儿啊 阅读(257) 评论(0) 推荐(0) 编辑
摘要: import requests# from lxml import etreefrom pyquery import PyQuery# from bs4 import BeautifulSoup count = 1url = "https://www.169tp.com/rentiyishu/"he 阅读全文
posted @ 2019-03-06 09:36 葵儿啊 阅读(9315) 评论(4) 推荐(0) 编辑
摘要: import requestsfrom pyquery import PyQuerycount = 1 start_url = "https://www.169tp.com/xingganmeinv/list_1_{}.html"# 'https://www.169tp.com/xingganmei 阅读全文
posted @ 2019-03-06 09:35 葵儿啊 阅读(3112) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-06 09:33 葵儿啊 阅读(180) 评论(0) 推荐(0) 编辑
摘要: import requestsfrom pyquery import PyQuerycount = 1url = "https://www.169tp.com/diannaobizhi/"headers = { 'User-Agent': ' Mozilla/5.0 (Windows NT 10.0 阅读全文
posted @ 2019-03-06 09:33 葵儿啊 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Python3 多线程 多线程类似于同时执行多个不同程序,多线程运行有如下优点: 使用线程可以把占据长时间的程序中的任务放到后台去处理。 用户界面可以更加吸引人,比如用户点击了一个按钮去触发某些事件的处理,可以弹出一个进度条来显示处理的进度 程序的运行速度可能加快 在一些等待的任务实现上如用户输入、 阅读全文
posted @ 2019-03-06 09:32 葵儿啊 阅读(241) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7
/*粒子线条,鼠标移动会以鼠标为中心吸附的特效*/