1 Star 0 Fork 14

JackieFu/Listed-company-news-crawl-and-text-analysis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_crawler_cnstock.py 575 Bytes
一键复制 编辑 原始数据 按行查看 历史
ramonli 提交于 2018-02-26 16:26 . Add files via upload
from Crawler.crawler_cnstock import WebCrawlFromcnstock
if __name__ == '__main__':
web_crawl_obj = WebCrawlFromcnstock(IP="localhost",PORT=27017,ThreadsNum=4,\
dbName="Cnstock_Stock",collectionName="cnstock_news_company")
web_crawl_obj.coroutine_run(621,10,1,url_Part_1='http://company.cnstock.com/company/scp_gsxw/') #Obj.multi_threads_run()
web_crawl_obj.coroutine_run(112,10,0,url_Part_1='http://ggjd.cnstock.com/gglist/search/qmtbbdj/')
web_crawl_obj.coroutine_run(116,10,0,url_Part_1='http://ggjd.cnstock.com/gglist/search/ggkx/')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/JackieFu/Listed-company-news-crawl-and-text-analysis.git
git@gitee.com:JackieFu/Listed-company-news-crawl-and-text-analysis.git
JackieFu
Listed-company-news-crawl-and-text-analysis
Listed-company-news-crawl-and-text-analysis
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385