数据包分析
wireshark+Connectify Hotspot(也可以是其他wifi共享工具),
参考:http://jingyan.baidu.com/article/19192ad85ca947e53e5707cd.html
如果不想用安卓机的话,也可以使用网易MuMu模拟器安装一个应用。
2) http://lf.snssdk.com/api/2/article/v35/stream/?offset=40 信息流列表
使用Fiddler
fiddler的使用参考:https://ask.hellobi.com/blog/Wakingup88688/7684
Fiddler——PC上实现手机的抓包
How to proxy your iOS or Android device to Fiddler running on a Windows machine
今日头条的数据分析可以参考:
https://github.com/jokermonn/-Api/blob/master/Todaynews.md
https://github.com/hrscy/TodayNews/blob/master/TodayNews/Classes/Main(%E4%B8%BB%E8%A6%81)/Tools/YMNetworkTool.swift
https://github.com/liubo0621/headlines_today
实际使用Fiddler连续进行监听,观察参数有何不一样
首次进入一个频道
GET /api/news/feed/v54/?ssmix=a&version_code=6.1.6&resolution=640*1136&ab_client=a1,f2,f7,e1&ac=WIFI&LBS_status=authroize&city=&concern_id=6286225228934679042&count=20&cp=599230Eb96BE1q1&detail=1&image=1&language=zh-Hans-CN&last_refresh_sub_entrance_interval=1497275361&loc_mode=1&min_behot_time=1497274488&refer=1&strict=0&tt_from=pull
在该频道内继续下翻
GET /api/news/feed/v54/?ssmix=a&version_code=6.1.6&resolution=640*1136&ab_client=a1,f2,f7,e1&ac=WIFI&LBS_status=authroize&category=news_finance&city=&concern_id=6215497900357585410&count=20&cp=5b9835EaA1059q1&detail=1&image=1&language=zh-Hans-CN&last_refresh_sub_entrance_interval=373&loc_mode=1&max_behot_time=1497263230&refer=1&strict=0&tt_from=load_more
分析PC端的网页,对于每一条信息项,如果是广告,会有{“tag”:”ad”}和具体的{“ad_id”,否则tag显示的是实际的频道,如{“tag”:”news_sports”},