Skip to content

新闻爬虫,爬取新浪、搜狐、新华网即时财经新闻。

Notifications You must be signed in to change notification settings

Jacen789/NewsCrawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewsCrawler

新闻爬虫,爬取新浪、搜狐、新华网即时财经新闻。

新浪、搜狐、新华网财经新闻的API分别为:

sina_template_url = 'http://roll.news.sina.com.cn/interface/rollnews_ch_out_interface.php?col=43&spec=&type=&ch=03&k=&offset_page=0&offset_num=0&num={}&asc=&page=1&r=0.{}'
sohu_template_url = 'http://v2.sohu.com/public-api/feed?scene=CHANNEL&sceneId=15&page=1&size={}'
xinhuanet_template_url = 'http://qc.wa.news.cn/nodeart/list?nid=11147664&pgnum={}&cnt={}&tp=1&orderby=1'

新浪财经新闻API(更新)抓取程序见https://github.com/Jacen789/rolling-news

sina_template_url = 'https://feed.mix.sina.com.cn/api/roll/get?pageid=153&lid=2516&k=&num=50&page={}&r={}'

效果如图:

效果2.png

效果.png

About

新闻爬虫,爬取新浪、搜狐、新华网即时财经新闻。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages