用Python爬ACG Art的图

今天闲下来了,实在不想做工作上的东西,闲下来爬一下agc的图吧。

进手机APP 然后用fiddler察看流量

先抓包,看头文件

找到这条

GET http://acg.sugling.in/json_list.php?device=iphone5&token=8646050102010500900165&type=r18&version=a.6.2 HTTP/1.1
Host: acg.sugling.in
Accept: */*
Connection: keep-alive
Cookie: __cfduid=d9b4ca840b3739d8b6693c376cab600ad1454386060
User-Agent: ACGArtFree/6.2 (iPhone; iOS 10.1; Scale/3.00)
Accept-Language: zh-Hans-GB;q=1, en-US;q=0.9
Accept-Encoding: gzip, deflate
Connection: keep-alive

Continue reading