Python crawls today's headline analysis report

1. https://if.snssdk.com/api/news/feed/v%s/?%s   Today's headline request is a get request,

2. v%s is related to the brand of the mobile phone (my mobile phone OPPO is V46), there are many parameters behind, most of which are unchanged

3. The changed parameters found through multiple requests include min_behot_time, last_refresh_sub_entrance_interval, as, cp, etc.

4. The category of the cagetory request that mainly affects the requested data. Different categories can request different categories of data (such as health, local, hotspot, video, etc.), and the same url in the same category can request data multiple times. 5. Request You need to bring headers, otherwise data may not be requested.

6. The as and cp parameters were guided by Pengge and analyzed the code of last year and learned that it was automatically generated by the code and should be used for some verification. last_refresh_sub_entrance_interval is a timestamp

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325485073&siteId=291194637