摘要: 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 葵儿啊 阅读(9316) 评论(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) 编辑
/*粒子线条,鼠标移动会以鼠标为中心吸附的特效*/