![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Smart_cxr
没伞的孩子,必须努力奔跑!!
展开
-
爬取猫眼电影
import jsonfrom multiprocessing import Poolimport requestsfrom requests import RequestExceptionimport redef get_one_page(url): try: headers = { 'User-Agent': 'Mozilla/5.0...原创 2018-05-10 20:50:37 · 334 阅读 · 0 评论 -
python爬取淘宝华为手机
import refrom selenium import webdriverfrom selenium.common.exceptions import TimeoutExceptionfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWaitf...原创 2018-05-19 22:06:16 · 984 阅读 · 0 评论 -
python爬取微信文章
from urllib.parse import urlencodefrom requests.exceptions import ConnectionErrorfrom pyquery import PyQuery as pqimport pymongofrom config import *client = pymongo.MongoClient(MONGO_URL)db = c...原创 2018-05-19 22:06:48 · 850 阅读 · 0 评论