![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬取新闻
Cep�Murphy laws
这个作者很懒,什么都没留下…
展开
-
爬取股票数据
import requests from bs4 import BeautifulSoup import pymongo client = pymongo.MongoClient(host='localhost',port=27017,connect=False) stocks = client['stock'] stock_data = stocks['stock_data'] if "stoc...原创 2020-02-28 12:12:48 · 262 阅读 · 1 评论 -
爬虫 python 爬取澎湃新闻
import requests import pymongo from bs4 import BeautifulSoup import getNews client = pymongo.MongoClient(host='localhost',port=27017,connect=False) pengpai = client['pengpai'] if 'pengpai_news' in pe...原创 2020-02-13 16:36:58 · 1842 阅读 · 0 评论