1. 程式人生 > >今日頭條app資料包分析

今日頭條app資料包分析

資料包分析

wireshark+Connectify Hotspot(也可以是其他wifi共享工具),

使用Fiddler

實際使用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”},