1 Star 0 Fork 14

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

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run_crawler_stcn.py 642 Bytes
一键复制 编辑 原始数据 按行查看 历史
ramonli 提交于 2018-02-26 16:26 . Add files via upload
from Crawler.crawler_stcn import WebCrawlFromstcn
if __name__ == '__main__':
web_crawl_obj = WebCrawlFromstcn(IP="localhost",PORT=27017,ThreadsNum=4,\
dbName="Stcn_Stock",collectionName="stcn_news_company")
web_crawl_obj.coroutine_run(20,1,1,url_Part_1='http://company.stcn.com/gsxw/')
web_crawl_obj.coroutine_run(20,1,1,url_Part_1='http://stock.stcn.com/xingu/')
web_crawl_obj.coroutine_run(20,1,1,url_Part_1='http://stock.stcn.com/zhuli/')
web_crawl_obj.coroutine_run(20,1,1,url_Part_1='http://stock.stcn.com/bankuai/')
web_crawl_obj.coroutine_run(20,1,1,url_Part_1='http://stock.stcn.com/dapan/')
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/longxian435/Listed-company-news-crawl-and-text-analysis.git
git@gitee.com:longxian435/Listed-company-news-crawl-and-text-analysis.git
longxian435
Listed-company-news-crawl-and-text-analysis
Listed-company-news-crawl-and-text-analysis
master

搜索帮助