分享一个网易新闻的测试api,可以用来写个项目demo、小程序等。
wangyi.PNG
网易: https://3g.163.com
新闻:/touch/reconstruct/article/list/BBM54PGAwangning/0-10.html
娱乐:/touch/reconstruct/article/list/BA10TA81wangning/0-10.html
体育:/touch/reconstruct/article/list/BA8E6OEOwangning/0-10.html
财经:/touch/reconstruct/article/list/BA8EE5GMwangning/0-10.html
军事:/touch/reconstruct/article/list/BAI67OGGwangning/0-10.html
科技:/touch/reconstruct/article/list/BA8D4A3Rwangning/0-10.html
手机:/touch/reconstruct/article/list/BAI6I0O5wangning/0-10.html
数码:/touch/reconstruct/article/list/BAI6JOD9wangning/0-10.html
时尚:/touch/reconstruct/article/list/BA8F6ICNwangning/0-10.html
游戏:/touch/reconstruct/article/list/BAI6RHDKwangning/0-10.html
教育:/touch/reconstruct/article/list/BA8FF5PRwangning/0-10.html
健康:/touch/reconstruct/article/list/BDC4QSV3wangning/0-10.html
旅游:/touch/reconstruct/article/list/BEO4GINLwangning/0-10.html
视频:/touch/nc/api/video/recommend/Video_Recom/0-10.do?callback=videoList
https://3g.163.com是网易新闻的地址,可以点进去通过抓包工具来获取每个接口,这里只提供部分api,楼主也是自己一个一个抓的url链接,url中的 0-10 两个数字表示,从第0条数据开始取10条数据,下一组数据可以拼 10-10.
一、网易:
http://c.m.163.com/nc/article/headline/T1348647853363/0-40.html 头条
http://c.3g.163.com/nc/article/list/T1467284926140/0-20.html 精选
http://c.3g.163.com/nc/article/list/T1348648517839/0-20.html 娱乐
http://c.m.163.com/nc/auto/list/5bmz6aG25bGx/0-20.html 汽车
http://c.m.163.com/nc/auto/list/6YOR5bee/0-20.html http://c.m.163.com/nc/auto/list/6YOR5bee/20-20.html
http://c.3g.163.com/nc/article/list/T1348649079062/0-20.html 运动
http://c.3g.163.com/nc/article/local/5bmz6aG25bGx/0-20.html 平顶山
http://c.m.163.com/nc/article/list/T1444270454635/0-20.html 漫画
http://c.m.163.com/nc/article/list/T1444270454635/20-20.html 更多
http://h5.manhua.163.com/reader/section/4560963294790090531/4560963294790090535 漫画详情
http://h5.manhua.163.com/reader/section/4317076104890059052/4701909430260109003
http://c.m.163.com/recommend/getChanListNews?channel=T1457068979049&size=20 视频
http://3g.163.com/touch/jsonp/joke/chanListNews/T1419316284722/2/0-10.html?callback=joke0段子
http://3g.163.com/touch/jsonp/joke/chanListNews/T1419316284722/2/0-10.html?callback=joke0
http://c.m.163.com/nc/video/detail/VC45QR41N.html 视频详情1
http://c.m.163.com/nc/video/detail/VC45OGK7D.html 视频详情2
http://data.live.126.net/livechannel/previewlist.json 直播 http://data.live.126.net/livechannel/previewlist/2.json 加载更多
http://data.live.126.net/liveAll/102093.json
http://data.live.126.net/liveAll/103226.json
http://data.live.126.net/livechannel/classifylist.json 分类
http://data.live.126.net/livechannel/classify/3/1.json http://data.live.126.net/livechannel/classify/5/1.json 分类直播栏
http://data.live.126.net/livechannel/sub/1.json 订阅
http://data.live.126.net/livechannel/sub/3.json
http://data.live.126.net/livechannel/sub/9.json
http://c.m.163.com/nc/subscribe/head/T1477453845937.html http://c.m.163.com/nc/subscribe/list/T1477632962159/live/0-20.html 订阅号详情
http://c.m.163.com/nc/video/detail/VC3PL396B.html 直播
http://flv.bn.netease.com/videolib3/1611/02/ECURs3951/SD/ECURs3951-mobile.mp4
http://flv.bn.netease.com/videolib3/1611/02/ocbOX6944/SD/ocbOX6944-mobile.mp4
往期回顾 http://c.m.163.com/nc/special/S1471399123413.html
话题:
http://c.m.163.com/newstopic/list/subject/0-10.html
http://c.m.163.com/newstopic/list/subject/10-10.html
二、喜马拉雅:
http://mobile.ximalaya.com/mobile/discovery/v2/rankingList/group?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=5.4.45 榜单
http://mobile.ximalaya.com/v1/track/baseInfo?device=android&trackId=24069144 1
http://mobile.ximalaya.com/v1/track/baseInfo?device=android&trackId=24030407 2
http://mobile.ximalaya.com/v1/track/baseInfo?device=android&trackId=24124926 3
http://mobile.ximalaya.com/v1/track/baseInfo?device=android&trackId=24102206 4
http://mobile.ximalaya.com/mobile/v1/album/track?albumId=203355&device=android&isAsc=true&pageId=4&pageSize=20&statEvent=pageview%2Falbum%40203355&statModule=%E6%9C%80%E5%A4%9A%E6%94%B6%E8%97%8F%E6%A6%9C&statPage=ranklist%40%E6%9C%80%E5%A4%9A%E6%94%B6%E8%97%8F%E6%A6%9C&statPosition=8 段子来啦
http://c.3g.163.com/uc/api/visitor/v2/profile 我
http://mobile.ximalaya.com/mobile/discovery/v2/categories?channel=and-d8&code=43_310000_3100&device=android&picVersion=11&scale=2&version=5.4.45 分类
http://mobile.ximalaya.com/mobile/discovery/v3/recommend/hotAndGuess?code=43_310000_3100&device=android&version=5.4.45 热门
http://mobile.ximalaya.com/mobile/discovery/v1/anchor/recommend?device=android&version=5.4.45 主播
http://www.ximalaya.com/mobile/v1/artist/intro?device=android&statEvent=pageview%2Fuser%4058880011&statModule=%E6%98%8E%E6%98%9F%E5%A4%A7%E5%92%96&statPage=tab%40%E5%8F%91%E7%8E%B0_%E4%B8%BB%E6%92%AD&statPosition=1&toUid=58880011 唐立淇
http://www.ximalaya.com/mobile/v1/artist/intro?device=android&statEvent=pageview%2Fuser%4060352302&statModule=%E6%98%8E%E6%98%9F%E5%A4%A7%E5%92%96&statPage=tab%40%E5%8F%91%E7%8E%B0_%E4%B8%BB%E6%92%AD&statPosition=2&toUid=60352302 华少
http://www.ximalaya.com/mobile/v1/artist/intro?device=android&statEvent=pageview%2Fuser%4053557393&statModule=%E6%98%8E%E6%98%9F%E5%A4%A7%E5%92%96&statPage=tab%40%E5%8F%91%E7%8E%B0_%E4%B8%BB%E6%92%AD&statPosition=6&toUid=53557393
作者:小半_生
链接:https://www.jianshu.com/p/2f0f763e075e
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。