添加完整的广告获取数据

This commit is contained in:
huangsimin 2019-01-04 16:25:27 +08:00
parent a95a17bd2a
commit 8090c12ef2
14 changed files with 4137 additions and 3 deletions

View File

@ -3,7 +3,7 @@ package main
import (
"log"
"github.com/tidwall/gjson"
"474420502.top/eson/gjson"
crontab "474420502.top/eson/crontabex"
"474420502.top/eson/imitater"

View File

@ -1,3 +1,8 @@
curl --name "tt-article-v24" --task "article" 'http://is.snssdk.com/2/article/information/v24/?latitude=22.831367&longitude=113.511515&group_id=6565653745026204168&item_id=6565653745026204168&aggr_type=1&context=1&from_category=news_game&article_page=0&iid=34903754482&device_id=41148471494&ac=wifi&channel=oppo-cpa&aid=13&app_name=news_article&version_code=676&version_name=6.7.6&device_platform=android&ab_version=304489%2C261579%2C373245%2C360501%2C374617%2C366851%2C356335%2C345191%2C271178%2C357704%2C326524%2C326532%2C292723%2C366036%2C323233%2C371779%2C346557%2C351090%2C319958%2C372620%2C362184%2C214069%2C31643%2C333971%2C366873%2C374962%2C372618%2C280449%2C281298%2C366489%2C325619%2C373770%2C357402%2C361073%2C362402%2C290191%2C370014%2C353484%2C375739%2C373725%2C295827%2C353305%2C375426%2C374426%2C239095%2C360541%2C344347%2C170988%2C371590%2C368831%2C368827%2C368775%2C374117%2C365053%2C374232%2C368303%2C375692%2C330632%2C297059%2C374250%2C276206%2C286212%2C350193%2C365036%2C373741%2C374405%2C373368%2C370846%2C364453%2C375713%2C369501%2C369165%2C368839%2C375433%2C373123%2C371555%2C371963%2C374142%2C372907&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=94567%2C102754%2C181430&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=ONEPLUS+A3010&device_brand=OnePlus&language=zh&os_api=26&os_version=8.0.0&uuid=864854034514328&openudid=9b35a4035eecee2c&manifest_version_code=676&resolution=1080*1920&dpi=420&update_version_code=67610&_rticket=1528706910264&plugin=10603&pos=5r_-9Onkv6e_eCQieCoDeCUfv7G_8fLz-vTp6Pn4v6esrK6zqKysqKyosb_x_On06ej5-L-nr6-zpa6srquqsb_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupauqqaSxv_zw_O3R_On06ej5-L-nr66zrairpKqv4A%3D%3D&fp=HrT_FlD_PMcIFlD5FSU1FYmeFrxO&rom_version=26&ts=1528706911&as=a265e371dff53b57de5999&mas=0073e8ef3f9a8b842da0ead7d35c0597ea2ee0ccce5e5d5db5' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1528706910267' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.0.0; ONEPLUS A3010 Build/OPR1.170623.032) NewsArticle/6.7.6 okhttp/3.10.0.1' -H 'Cookie: odin_tt=210899a257b5fe787a3465e2220fb94d91d5ad34c77dee3560f93fccc82dd738cccb301770f633530fdd6ceea955983d; UM_distinctid=163ace3b0050-08fccf530af621-f1c0e26-49a10-163ace3b0093e8; CNZZDATA1271720685=1435124261-1527612007-%7C1527612007; CNZZDATA1264530760=119491224-1527609979-%7C1527612115; JSESSIONID=67814B7DDE08D5A9F3B3D684220CF3FB; alert_coverage=6; qh[360]=1; install_id=34903754482; ttreq=1$b7221ef01bd5ed7c030f5db45e959686c9ddd0d2' -H 'Host: is.snssdk.com'
curl --name "tt-article-v25" --task "article" 'http://is.snssdk.com/2/article/information/v25/?latitude=23.060406&longitude=113.380702&group_id=6616903985464869383&item_id=6616903985464869383&aggr_type=1&context=1&flags=64&from_category=__all__&article_page=1&search_id=&query=&is_low_actived=0&iid=54363182959&device_id=55149394150&ac=wifi&channel=xiaomi&aid=13&app_name=news_article&version_code=703&version_name=7.0.3&device_platform=android&ab_version=664543%2C659641%2C640301%2C486952%2C654085%2C651369%2C662176%2C472113%2C292723%2C664015%2C571131%2C616214%2C665141%2C639002%2C239095%2C612191%2C641905%2C170988%2C643891%2C631016%2C659018%2C374117%2C652002%2C600231%2C664393%2C587817%2C655402%2C649422%2C633720%2C613176%2C550042%2C603542%2C659212%2C627550%2C663332%2C659530%2C649427%2C614100%2C522765%2C659286%2C416055%2C621360%2C651696%2C661405%2C558140%2C555254%2C640008%2C471406%2C603440%2C596392%2C660510%2C630576%2C598626%2C644857%2C646252%2C603379%2C603401%2C603404%2C603405%2C638928%2C662915%2C659552%2C646564%2C648850%2C656461%2C657631%2C661899%2C662644%2C629152%2C607361%2C567866%2C609337%2C662818%2C652366%2C662099%2C641414%2C664191%2C654358%2C651920%2C662280%2C655010%2C650887%2C622716%2C662145%2C622728%2C653957%2C659453%2C665452%2C640997%2C641080%2C661616%2C660462%2C664030%2C662397%2C631594%2C653241%2C658364%2C554836%2C549647%2C644131%2C472442%2C31210%2C572465%2C651597%2C644058%2C615291%2C606547%2C442255%2C660075%2C648180%2C630218%2C546701%2C281298%2C658129%2C622045%2C325619%2C665473%2C625066%2C652952%2C665098%2C659705%2C664311%2C431142%2C498375%2C657352%2C638335%2C467513%2C644240%2C631638%2C665565%2C655235%2C595556%2C664318%2C664673%2C661444%2C661450%2C654129%2C655710%2C658938%2C660830%2C648316%2C640210%2C656557%2C644675%2C662684%2C661781%2C293032%2C457481%2C649402%2C591908%2C655988&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167&ab_feature=94563%2C102749&abflag=3&ssmix=a&device_type=MI+8+SE&device_brand=Xiaomi&language=zh&os_api=27&os_version=8.1.0&uuid=99001141462873&openudid=58cccf5030e9cbd4&manifest_version_code=703&resolution=1080*2114&dpi=440&update_version_code=70315&_rticket=1545589377362&plugin=26958&pos=5r_-9Onkv6e_eCQieCoDeCUfv7G_8fLz-vTp6Pn4v6esrK6zrqWtqq2vsb_x_On06ej5-L-nr66zrautqa2rsb_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOprailq6mxv_zw_O3R_On06ej5-L-nr66zraiqr66r4A%3D%3D&fp=zlT_L2UeLlPrFlPrPrU1FYwIJlm1&tma_jssdk_version=1.7.1.4&rom_version=miui_v10_v10.0.1.0.oebcnfh&ts=1545589377&as=a2e55d11a1d89ca21f4355&mas=00175b1e44fd41af3b097c34ff95e7ea7a2c40a64206686ef6' -H 'Host: is.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=5bc108effff4529886a0aa36812c115d38b0e739f9abff2139107953c017cc62343bab05794f7fb3075b25846f32c178; UM_distinctid=1655625f84a18e-0897e6c8fc225e-6b55284e-4e4b0-1655625f84c3b; __tea_sdk__ssid=a79e00a6-b717-423f-9e97-f8ac84635f7e; tt_webid=6591877343492081160; __tea_sdk__user_unique_id=6591877343492081160; CNZZDATA1264530760=1269028608-1534945655-%7C1534945655; _ga=GA1.2.1032699944.1534947531; sid_guard=5ccb73ded741fb5f56e64623ca03ac8b%7C1544665500%7C5184000%7CMon%2C+11-Feb-2019+01%3A45%3A00+GMT; uid_tt=1f76f0742e12b4f8a5f32c009d5f7c52; sid_tt=5ccb73ded741fb5f56e64623ca03ac8b; sessionid=5ccb73ded741fb5f56e64623ca03ac8b; alert_coverage=77; install_id=54363182959; ttreq=1$05885f6b61aaffcd5e901e181629f2e1d2851d21; qh[360]=1' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1545589377369' -H 'X-Tt-Token: 005ccb73ded741fb5f56e64623ca03ac8bdc236ae81584d4b02df898418e84e101852bddfc64ca324cdf12e2a5ea1d924039' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; MI 8 SE MIUI/V10.0.1.0.OEBCNFH) NewsArticle/7.0.3 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0'
curl -X 'GET' 'http://lf.snssdk.com/2/article/information/v25/?group_id=6631017396733739523&item_id=6631017396733739523&aggr_type=0&context=1&from_category=__all__&article_page=0&search_id=&query=&is_low_actived=0&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587577226&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587577&as=a2c5004289dbdc7d1f4355&mas=0099b99bf5e4a5b48ecc88f8edc2f74862e0e6a64206686ec5' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587577233' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/2/article/information/v25/?group_id=6642440132584538637&item_id=6642440132584538637&aggr_type=1&context=1&flags=64&from_category=__all__&article_page=1&search_id=&query=&is_low_actived=0&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587606868&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587606&as=a275a0e266ed9c0d1f4355&mas=000293e1416ad23a4b8d880a4813d7fd42eee6a64206686eb5' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587606876' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/2/article/information/v25/?group_id=6631787616238829828&item_id=6631787616238829828&aggr_type=1&context=1&ad_id=1619088773454899&from_category=__all__&article_page=0&search_id=&query=&is_low_actived=0&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587620850&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587620&as=a2151082346e9cedff4355&mas=000db3e5e0c75dc76d2fe5c4ef01f5baf5440c084206686ee0' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587620857' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed

View File

@ -3,7 +3,7 @@ package main
import (
"log"
"github.com/tidwall/gjson"
"474420502.top/eson/gjson"
crontab "474420502.top/eson/crontabex"
"474420502.top/eson/imitater"

View File

@ -1,3 +1,5 @@
curl --name "tt-info" --task "info" 'https://it.snssdk.com/api/news/feed/v88/?list_count=17&support_rn=4&concern_id=6286225228934679042&refer=1&refresh_reason=1&session_refresh_idx=2&count=20&min_behot_time=1545427212&last_refresh_sub_entrance_interval=1545427282&loc_mode=5&loc_time=1545425201&latitude=23.060406&longitude=113.380702&city=%E5%B9%BF%E5%B7%9E%E5%B8%82&tt_from=pull&plugin_enable=3&st_time=295&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=54363182959&device_id=55149394150&ac=wifi&channel=xiaomi&aid=13&app_name=news_article&version_code=703&version_name=7.0.3&device_platform=android&ab_version=611285%2C662505%2C659641%2C640301%2C661854%2C486952%2C654085%2C651369%2C662176%2C472113%2C292723%2C659345%2C571131%2C616214%2C638883%2C639002%2C239095%2C612191%2C641905%2C170988%2C655796%2C643891%2C631016%2C659018%2C374117%2C652002%2C600231%2C587817%2C649422%2C633720%2C613176%2C550042%2C603542%2C659212%2C627550%2C656673%2C659530%2C649427%2C614100%2C522765%2C659286%2C416055%2C621360%2C656462%2C651696%2C643100%2C661405%2C652331%2C558140%2C555254%2C640008%2C659763%2C471406%2C603440%2C596392%2C660510%2C630576%2C598626%2C644857%2C646252%2C603379%2C603401%2C603404%2C603405%2C638928%2C662915%2C659552%2C646564%2C648850%2C656461%2C657631%2C661899%2C662644%2C629152%2C607361%2C567866%2C609337%2C662818%2C652366%2C662099%2C641414%2C654358%2C651920%2C662280%2C655010%2C650887%2C622716%2C662145%2C622728%2C653957%2C659453%2C663071%2C640997%2C641080%2C661616%2C660462%2C662397%2C631594%2C653241%2C658364%2C639497%2C554836%2C549647%2C644131%2C472442%2C31210%2C572465%2C651597%2C644058%2C615291%2C606547%2C442255%2C662167%2C660075%2C648180%2C630218%2C546701%2C281298%2C658129%2C622045%2C325619%2C649526%2C659121%2C634871%2C625066%2C652952%2C659705%2C653947%2C431142%2C498375%2C657352%2C638335%2C467513%2C655847%2C644240%2C631638%2C661473%2C648895%2C661697%2C655235%2C595556%2C662226%2C661444%2C661450%2C654129%2C655710%2C658938%2C660830%2C656557%2C644675%2C662684%2C661781%2C293032%2C457481%2C649402%2C591908%2C655988%2C648316%2C640210&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167&ab_feature=94563%2C102749&abflag=3&ssmix=a&device_type=MI+8+SE&device_brand=Xiaomi&language=zh&os_api=27&os_version=8.1.0&uuid=99001141462873&openudid=58cccf5030e9cbd4&manifest_version_code=703&resolution=1080*2114&dpi=440&update_version_code=70315&_rticket=1545427282300&plugin=26958&pos=5r_-9Onkv6e_eCQieCoDeCUfv7G_8fLz-vTp6Pn4v6esrK6zrqWtqq2vsb_x_On06ej5-L-nr66zrautqa2rsb_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOprailq6qxv_zw_O3R_On06ej5-L-nr66zraiqr66k4A%3D%3D&fp=zlT_L2UeLlPrFlPrPrU1FYwIJlm1&tma_jssdk_version=1.7.1.4&rom_version=miui_v10_v10.0.1.0.oebcnfh&ts=1545427282&as=a2e5950142f59cb9ad4355&mas=003b846ae93dd45c6424279ced4ec37f45f047464606686ecd&cp=50c91ad559952q1' -H 'Host: it.snssdk.com' -H 'Connection: keep-alive' -H 'Cookie: odin_tt=5bc108effff4529886a0aa36812c115d38b0e739f9abff2139107953c017cc62343bab05794f7fb3075b25846f32c178; UM_distinctid=1655625f84a18e-0897e6c8fc225e-6b55284e-4e4b0-1655625f84c3b; __tea_sdk__ssid=a79e00a6-b717-423f-9e97-f8ac84635f7e; tt_webid=6591877343492081160; __tea_sdk__user_unique_id=6591877343492081160; _ga=GA1.2.1032699944.1534947531; sid_guard=5ccb73ded741fb5f56e64623ca03ac8b%7C1544665500%7C5184000%7CMon%2C+11-Feb-2019+01%3A45%3A00+GMT; uid_tt=1f76f0742e12b4f8a5f32c009d5f7c52; sid_tt=5ccb73ded741fb5f56e64623ca03ac8b; sessionid=5ccb73ded741fb5f56e64623ca03ac8b; install_id=54363182959; ttreq=1$05885f6b61aaffcd5e901e181629f2e1d2851d21; qh[360]=1; alert_coverage=77' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1545427282310' -H 'X-Tt-Token: 005ccb73ded741fb5f56e64623ca03ac8bdc236ae81584d4b02df898418e84e101852bddfc64ca324cdf12e2a5ea1d924039' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; MI 8 SE MIUI/V10.0.1.0.OEBCNFH) NewsArticle/7.0.3 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0'
curl 'http://is.snssdk.com/api/news/feed/v88/?list_count=17&support_rn=4&category=news_entertainment&concern_id=6215497896830175745&refer=1&refresh_reason=1&session_refresh_idx=2&count=20&min_behot_time=1546566352&last_refresh_sub_entrance_interval=1546566639&loc_mode=5&loc_time=1546564033&latitude=23.060406&longitude=113.380702&city=%E5%B9%BF%E5%B7%9E%E5%B8%82&tt_from=pull&plugin_enable=3&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=55784134153&device_id=55149394150&ac=wifi&channel=xiaomi&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C677773%2C486952%2C673652%2C651369%2C662176%2C472113%2C292723%2C680425%2C571131%2C674048%2C639002%2C612191%2C641905%2C170988%2C651014%2C643891%2C631016%2C659018%2C374117%2C652002%2C671751%2C645865%2C587817%2C655402%2C678353%2C613176%2C550042%2C679703%2C603542%2C659212%2C627550%2C680164%2C678790%2C649427%2C614100%2C677128%2C522765%2C669469%2C666019%2C416055%2C558140%2C555254%2C679177%2C471406%2C603440%2C596392%2C660510%2C598626%2C644857%2C680371%2C603379%2C603401%2C603404%2C603405%2C638928%2C662915%2C677669%2C661899%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635531%2C652366%2C662099%2C641414%2C664191%2C654358%2C651920%2C671245%2C655010%2C680507%2C622716%2C672873%2C678532%2C640997%2C641080%2C668774%2C679518%2C678338%2C631594%2C671445%2C676442%2C679732%2C554836%2C679903%2C549647%2C644131%2C472442%2C31210%2C572465%2C675212%2C651597%2C644058%2C615291%2C606547%2C678933%2C673168%2C678317%2C678279%2C546701%2C281298%2C658129%2C325619%2C678477%2C665473%2C625066%2C652952%2C677794%2C664311%2C431142%2C679143%2C678265%2C638335%2C467513%2C679101%2C679985%2C678878%2C595556%2C679519%2C678327%2C669426%2C670151%2C661450%2C654129%2C660830%2C656557%2C662684%2C661781%2C293032%2C457481%2C649402%2C591908%2C655988%2C648316%2C640210&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167&ab_feature=94563%2C102749&abflag=3&ssmix=a&device_type=MI+8+SE&device_brand=Xiaomi&language=zh&os_api=27&os_version=8.1.0&uuid=99001141462873&openudid=58cccf5030e9cbd4&manifest_version_code=704&resolution=1080*2114&dpi=440&update_version_code=70412&_rticket=1546566639364&plugin=26958&pos=5r_-9Onkv6e_eCQieCoDeCUfv7G_8fLz-vTp6Pn4v6esrK6zrqWtqq2vsb_x_On06ej5-L-nr66zrautqa2r4A%3D%3D&fp=zlT_L2UeLlPrFlPrPrU1FYwIJlm1&tma_jssdk_version=1.8.0.4&rom_version=miui_v10_v10.2.1.0.oebcnfk&ts=1546566640&as=a2a5ebb270cf3c5bee4355&mas=00fdecf117bbae1b81758aae487cb50d0e84cac44e06686ee3&cp=5ec52ae7b7befq1' -H 'Host: is.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=5bc108effff4529886a0aa36812c115d38b0e739f9abff2139107953c017cc62343bab05794f7fb3075b25846f32c178; UM_distinctid=1655625f84a18e-0897e6c8fc225e-6b55284e-4e4b0-1655625f84c3b; __tea_sdk__ssid=a79e00a6-b717-423f-9e97-f8ac84635f7e; tt_webid=6591877343492081160; __tea_sdk__user_unique_id=6591877343492081160; CNZZDATA1264530760=1269028608-1534945655-%7C1534945655; _ga=GA1.2.1032699944.1534947531; sid_guard=5ccb73ded741fb5f56e64623ca03ac8b%7C1544665500%7C5184000%7CMon%2C+11-Feb-2019+01%3A45%3A00+GMT; uid_tt=1f76f0742e12b4f8a5f32c009d5f7c52; sid_tt=5ccb73ded741fb5f56e64623ca03ac8b; sessionid=5ccb73ded741fb5f56e64623ca03ac8b; install_id=55784134153; ttreq=1$2b24406b6e1991a32caf4e4246870c3aad035627; qh[360]=1' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546566639369' -H 'X-Tt-Token: 005ccb73ded741fb5f56e64623ca03ac8b4fdb0fecc878b0c12132ca816432015792c6fb48ef4c9d781db882a81ad5f96715' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; MI 8 SE MIUI/V10.2.1.0.OEBCNFK) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0'
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=142&support_rn=4&concern_id=6286225228934679042&refer=1&refresh_reason=1&session_refresh_idx=13&count=20&min_behot_time=1546582457&last_refresh_sub_entrance_interval=1546582480&loc_mode=4&tt_from=pull&lac=9502&cid=112375554&plugin_enable=3&st_time=1798&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C661907%2C662644%2C668775%2C673945%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=102754%2C94567&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546582480148&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.1.0.13&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546582480&as=a2b53ff2e0ad3c590e4355&mas=00f49a898835c1da8d1028395f0076f7c25ecd6e4e06686eb8&cp=55ca22eaf39d0q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546582480161' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=142&support_rn=4&concern_id=6286225228934679042&refer=1&refresh_reason=1&session_refresh_idx=13&count=20&min_behot_time=1546582457&last_refresh_sub_entrance_interval=1546582480&loc_mode=4&tt_from=pull&lac=9502&cid=112375554&plugin_enable=3&st_time=1798&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C661907%2C662644%2C668775%2C673945%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=102754%2C94567&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546582480148&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.1.0.13&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546582480&as=a2b53ff2e0ad3c590e4355&mas=00f49a898835c1da8d1028395f0076f7c25ecd6e4e06686eb8&cp=55ca22eaf39d0q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546582480161' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=23&support_rn=4&refer=1&refresh_reason=1&session_refresh_idx=2&count=20&min_behot_time=1546583795&last_refresh_sub_entrance_interval=1546587571&loc_mode=4&tt_from=pull&lac=9502&cid=112375554&plugin_enable=3&st_time=6818&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587571060&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587571&as=a235f032b3ab4ced2f4355&mas=00a9ef768e5e683077ddbb78433d5483534426aa4206686ee0&cp=5dca2af006db3q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587571070' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=34&support_rn=4&refer=1&refresh_reason=6&session_refresh_idx=3&count=20&min_behot_time=1546587571&last_refresh_sub_entrance_interval=1546587639&loc_mode=4&lac=9502&cid=112375554&plugin_enable=3&st_time=6887&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587639826&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587639&as=a2c5b072179fbcddaf4355&mas=00d2e76450aa87928b3688eaf45a107c994cec064206686ef0&cp=5fc327fb0edf7q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587639834' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed

3602
search.json Normal file

File diff suppressed because it is too large Load Diff

64
search/search.go Normal file
View File

@ -0,0 +1,64 @@
package main
import (
"log"
"474420502.top/eson/gjson"
crontab "474420502.top/eson/crontabex"
"474420502.top/eson/imitater"
"474420502.top/test/logdb"
)
func main() {
imitater.Register("toutiao", &TaskEx{})
person := imitater.NewPerson()
person.Config("task.yaml")
person.Execute()
}
// TaskEx 任务相关类
type TaskEx struct {
imitater.Task
db *logdb.LogDB
}
// Init 初始化函数
func (te *TaskEx) Init() {
te.db = logdb.New("../logdb.yaml")
}
// Execute 执行过程的方法
func (te *TaskEx) Execute(glocal map[string]interface{}) imitater.ITask {
resp, err := te.Request()
if err != nil {
log.Println(err)
return te
}
var adDataList []string
if gjson.Valid(resp.Content()) {
P := gjson.Parse(resp.Content())
data := P.Get(`data`)
if data.Exists() {
adData := data.Get(`#[label = "广告"]#`)
if adData.Exists() {
for _, result := range adData.Array() {
adDataList = append(adDataList, result.String())
}
}
}
} else {
log.Println("be careful:", resp.Content())
}
if imitater.ADDataSave(te, te.db, adDataList) {
te.GetCrontab().SetStatus(crontab.SExecuteOK, true)
} else {
te.GetCrontab().SetStatus(crontab.SExecuteOK, false)
}
return te
}

38
search/search_test.go Normal file
View File

@ -0,0 +1,38 @@
package main
import (
"io/ioutil"
"testing"
"474420502.top/eson/gjson"
)
func TestTaskEx_Execute(t *testing.T) {
data, err := ioutil.ReadFile("../search.json")
if err != nil {
panic(err)
}
var adDataList []string
if gjson.Valid(string(data)) {
P := gjson.Parse(string(data))
data := P.Get(`data`)
if data.Exists() {
adData := data.Get(`#[label = "广告"]#`)
if adData.Exists() {
for _, result := range adData.Array() {
adDataList = append(adDataList, result.String())
}
} else {
t.Error(`expr error`)
}
}
}
if len(adDataList) != 1 {
t.Error("adDataList != 1")
t.Error(adDataList)
}
}

1
search/task.curl Normal file
View File

@ -0,0 +1 @@
curl -X 'GET' 'https://lf.snssdk.com/api/search/content/?from=search_tab&keyword=%E7%BD%91%E6%B8%B8&cur_tab_title=search_tab&plugin_enable=3&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_group=100167%252C94567%252C102754%252C181431&abflag=3&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546583815966&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%253D%253D&rom_version=23&plugin=26958&search_sug=1&forum=1&count=10&format=json&source=input&pd=synthesis&keyword_type=&action_type=input_keyword_search&search_position=search_tab&from_search_subtab=&offset=0&search_id=&has_count=0&qc_query=' -H 'Host: lf.snssdk.com' -H 'Connection: keep-alive' -H 'Accept: text/javascript, text/html, application/xml, text/xml, */*' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Linux; Android 6.0; U20 Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/44.0.2403.147 Mobile Safari/537.36 JsSdk/2 NewsArticle/7.0.4 NetType/wifi' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Referer: https://lf.snssdk.com/feoffline/search/template/tt_search/search/search.html?from=search_tab&keyword=&cur_tab_title=search_tab&plugin_enable=3&followbtn_template=%7B%22color_style%22%3A%22red%22%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546583815966&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&search_sug=1&forum=1' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: zh-CN,en-US;q=0.8' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' --compressed

19
search/task.yaml Normal file
View File

@ -0,0 +1,19 @@
mode : 0
# proxies : "socks5://10.10.0.1:8080" // 支持, 列表 与 单项字符串
proxies : ["socks5://10.10.0.1:8080", "socks5://10.10.0.1:8082", "socks5://10.10.0.1:8083", "socks5://10.10.0.1:8085", "socks5://10.10.0.1:8087", "socks5://10.10.0.1:8088", "socks5://10.10.0.1:8091"]
retry : 0
timeout: 12
priority : 10000
curls : "@task.curl" # 支持, 列表 与 单项字符串
task: "toutiao"
device : "eson-OnePlus"
platform : "Android"
# area_cc : 4401
channel : 105
media : 55
spider_id : 10001003
catch_account_id : 1001003
crontab: "f8>=360|f5>=240|f=120|s=20|s10>=60"

279
splash.json Normal file
View File

@ -0,0 +1,279 @@
{
"message": "success",
"data": {
"penalty_period": [
4102416000,
4102416000
],
"sdk_splash": 0,
"splash_interval": 5400,
"leave_interval": 600,
"show_limit": 0,
"is_need_ack": true,
"splash": [
{
"log_extra": "{\"splash_send\": \"1621698206869630 1621698215318535 1621431002013758 1621634980708413 1621634988588039\", \"ad_id\": 1621697700496392, \"vid\": \"680305,675827,571131,665174,674057,594583,612193,641906,170988,680911,643892,659018,374116,677696,655402,678350,550042,435216,603544,659218,680163,678792,649426,614096,677129,377573,522766,669470,416055,677236,558139,555254,679178,603441,596391,660508,598626,644855,680371,603386,603398,603404,603406,638927,681323,661907,662644,668775,673945,631595,469022,676441,679733,673696,554836,679903,549647,644131,572465,482355,644057,615291,606548,681182,678933,673168,678315,678279,671426,546703,641191,281297,664118,325620,678473,665472,625066,662507,663955,668676,664311,680283,638335,467515,679101,679985,678876,595556,679519,679764,669426,670151,661450,654124,680983,660830\", \"city_id\": 0, \"rit\": 2, \"an\": \"news_article\", \"req_id\": \"201901041601500100140361088919AE\", \"province_id\": 0}",
"open_url": "sslocal://profile?uid=96979344506",
"track_url": "",
"web_url": "https://www.toutiao.com/c/user/96979344506/#mid=1597977670828036",
"image_mode": 0,
"splash_id": 1621698206869630,
"max_display_time_ms": 7000,
"skip_btn": 1,
"id": 1621698206869630,
"display_density": "1242x2208",
"expire_seconds": 86400.0,
"display_after": 28689,
"title": "\u5973\u8db3\u8d75\u4e3d\u5a1c\u901b\u8fea\u58eb\u5c3c\u7684\u4e00\u5929",
"click_track_url_list": [],
"expire_timestamp": 1546704000.0,
"splash_type": 2,
"track_url_list": [],
"image_info": {
"width": 1242,
"url_list": [
{
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5"
},
{
"url": "https://sf3-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5"
},
{
"url": "https://sf1-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5"
}
],
"uri": "web.business.image/201901045d0d1117bf25635e473c90d5",
"height": 2208
},
"type": "web",
"display_time": 3,
"repeat": 0,
"splash_load_type": 3,
"predownload": 1,
"web_title": "\u5973\u8db3\u8d75\u4e3d\u5a1c\u901b\u8fea\u58eb\u5c3c\u7684\u4e00\u5929",
"click_btn": 0,
"banner_mode": 0,
"url": "aHR0cDovL3YzLXR0Lml4aWd1YS5jb20vZmY2NDI5ZTc3NmEzMmY5N2Y3ZWE0ZmQ2MzA5OWVkMWQvNWMyZjIxMDQvdmlkZW8vbS8yMjAyMzg1MjY4MTA2ZmI0OGQ0YmFkZDA4Njg2ZTgzODU3OTExNjEzMzhkYjAwMDA2MDM1NTY1NWVkNzgvP3JjPWFtODFkMmMwWjJWbWFqTXpaRG96TTBBcFFIUkFiMGc4UERzME5qY3pORE0wT1RjMFBETkFLWFVwUUdjemR5bEFabXhrYm1ReFpHWTJRRzVrTFhJd2NESnFhMTh0TFRJdEwzTnpMVzhqYnlNJTJCTGpVdE15MHVMUzB5TFM0dExTNHZhVHBpTFc4ak9tQXRieU50SzJCdFlUb2pMbDQlM0Q=",
"display_time_ms": 5000,
"video_info": {
"play_track_url_list": [],
"video_url_list": [
"aHR0cDovL3YxLXR0Lml4aWd1YXZpZGVvLmNvbS9lODMyZDU4NWE2NGI2ZGUyNjlmZmMwMWZlNDA4NTAwMy81YzJmMjEwNC92aWRlby9tLzIyMDIzODUyNjgxMDZmYjQ4ZDRiYWRkMDg2ODZlODM4NTc5MTE2MTMzOGRiMDAwMDYwMzU1NjU1ZWQ3OC8/cmM9YW04MWQyYzBaMlZtYWpNelpEb3pNMEFwUUhSQWIwZzhQRHMwTmpjek5ETTBPVGMwUEROQUtYVXBRR2N6ZHlsQVpteGtibVF4WkdZMlFHNWtMWEl3Y0RKcWExOHRMVEl0TDNOekxXOGpieU0lMkJMalV0TXkwdUxTMHlMUzR0TFM0dmFUcGlMVzhqT21BdGJ5TnRLMkJ0WVRvakxsNCUzRA==",
"aHR0cDovL3YzLXR0Lml4aWd1YS5jb20vYTFjN2E1YmJlNGJlMjdkYzJhZDE5NTJjOTFkN2YwY2IvNWMyZjIxMDQvdmlkZW8vbS8yMjAzMTdjNDFkYmViYmQ0YWM4ODJkODhhYzg1YTE5NWMyODExNjEzMzIwODAwMDA0ZjczZDIxNDg2Y2MvP3JjPWFtODFkMmMwWjJWbWFqTXpaRG96TTBBcFFIUkFiMGc4UERzME5qY3pORE0wT1RjMFBETkFLWFVwUUdjemR5bEFabXhrYm1ReFpHWTJRRzVrTFhJd2NESnFhMTh0TFRJdEwzTnpMVzhqYnlNJTJCTGpVdE15MHVMUzB5TFM0dExTNHZhVHBpTFc4ak9tQXRieU50SzJCdFlUb2pMbDQlM0Q=",
"aHR0cDovL3YxLXR0Lml4aWd1YXZpZGVvLmNvbS8zZmY4ZDM1YTU1ODZhYjQ4M2ZmNWQ4OGUzMjkzNjc1OS81YzJmMjEwNC92aWRlby9tLzIyMDMxN2M0MWRiZWJiZDRhYzg4MmQ4OGFjODVhMTk1YzI4MTE2MTMzMjA4MDAwMDRmNzNkMjE0ODZjYy8/cmM9YW04MWQyYzBaMlZtYWpNelpEb3pNMEFwUUhSQWIwZzhQRHMwTmpjek5ETTBPVGMwUEROQUtYVXBRR2N6ZHlsQVpteGtibVF4WkdZMlFHNWtMWEl3Y0RKcWExOHRMVEl0TDNOekxXOGpieU0lMkJMalV0TXkwdUxTMHlMUzR0TFM0dmFUcGlMVzhqT21BdGJ5TnRLMkJ0WVRvakxsNCUzRA==",
"aHR0cDovL3YzLXR0Lml4aWd1YS5jb20vYjc1MjI3ZmJjZTg3MTIyNWQ3Nzc1ZmRmZmYzZTZiMTcvNWMyZjIxMDQvdmlkZW8vbS8yMjBiOTE0ZjcxNWMzOTg0MTU4ODRkMGM5NGY1MGViMjcwNTExNjEzNDM1MDAwMDA2MzFkNzFiZWMzMzAvP3JjPWFtODFkMmMwWjJWbWFqTXpaRG96TTBBcFFIUkFiMGc4UERzME5qY3pORE0wT1RjMFBETkFLWFVwUUdjemR5bEFabXhrYm1ReFpHWTJRRzVrTFhJd2NESnFhMTh0TFRJdEwzTnpMVzhqYnlNJTJCTGpVdE15MHVMUzB5TFM0dExTNHZhVHBpTFc4ak9tQXRieU50SzJCdFlUb2pMbDQlM0Q=",
"aHR0cDovL3YxLXR0Lml4aWd1YXZpZGVvLmNvbS80ZGRiZmNhODNlMWYwNzFjNmJiNjcxMzk4MTM3YWM3Ny81YzJmMjEwNC92aWRlby9tLzIyMGI5MTRmNzE1YzM5ODQxNTg4NGQwYzk0ZjUwZWIyNzA1MTE2MTM0MzUwMDAwMDYzMWQ3MWJlYzMzMC8/cmM9YW04MWQyYzBaMlZtYWpNelpEb3pNMEFwUUhSQWIwZzhQRHMwTmpjek5ETTBPVGMwUEROQUtYVXBRR2N6ZHlsQVpteGtibVF4WkdZMlFHNWtMWEl3Y0RKcWExOHRMVEl0TDNOekxXOGpieU0lMkJMalV0TXkwdUxTMHlMUzR0TFM0dmFUcGlMVzhqT21BdGJ5TnRLMkJ0WVRvakxsNCUzRA=="
],
"video_density": "640x1136",
"video_id": "v020075a0000bgncmb5ds13dut02glqg",
"voice_switch": false,
"video_group_id": 6642475889151967502,
"action_track_url_list": []
},
"action": ""
},
{
"log_extra": "{\"splash_send\": \"1621698206869630 1621698215318535 1621431002013758 1621634980708413 1621634988588039\", \"ad_id\": 1621697700496392, \"vid\": \"680305,675827,571131,665174,674057,594583,612193,641906,170988,680911,643892,659018,374116,677696,655402,678350,550042,435216,603544,659218,680163,678792,649426,614096,677129,377573,522766,669470,416055,677236,558139,555254,679178,603441,596391,660508,598626,644855,680371,603386,603398,603404,603406,638927,681323,661907,662644,668775,673945,631595,469022,676441,679733,673696,554836,679903,549647,644131,572465,482355,644057,615291,606548,681182,678933,673168,678315,678279,671426,546703,641191,281297,664118,325620,678473,665472,625066,662507,663955,668676,664311,680283,638335,467515,679101,679985,678876,595556,679519,679764,669426,670151,661450,654124,680983,660830\", \"city_id\": 0, \"rit\": 2, \"an\": \"news_article\", \"req_id\": \"201901041601500100140361088919AE\", \"province_id\": 0}",
"open_url": "sslocal://profile?uid=96979344506",
"track_url": "",
"web_url": "https://www.toutiao.com/c/user/96979344506/#mid=1597977670828036",
"image_mode": 0,
"splash_id": 1621698215318535,
"max_display_time_ms": 4000,
"skip_btn": 1,
"id": 1621698215318535,
"display_density": "1242x2208",
"expire_seconds": 5,
"display_after": 8640000,
"title": "\u5973\u8db3\u8d75\u4e3d\u5a1c\u901b\u8fea\u58eb\u5c3c\u7684\u4e00\u5929",
"click_track_url_list": [],
"expire_timestamp": 1546704000.0,
"track_url_list": [],
"image_info": {
"width": 1242,
"url_list": [
{
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5"
},
{
"url": "https://sf3-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5"
},
{
"url": "https://sf1-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5"
}
],
"uri": "web.business.image/201901045d0d1117bf25635e473c90d5",
"height": 2208
},
"type": "web",
"display_time": 3,
"repeat": 0,
"splash_load_type": 3,
"predownload": 31,
"web_title": "\u5973\u8db3\u8d75\u4e3d\u5a1c\u901b\u8fea\u58eb\u5c3c\u7684\u4e00\u5929",
"click_btn": 0,
"banner_mode": 0,
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901045d0d1117bf25635e473c90d5",
"display_time_ms": 3000,
"action": ""
},
{
"log_extra": "{\"splash_send\": \"1621698206869630 1621698215318535 1621431002013758 1621634980708413 1621634988588039\", \"ad_id\": 1621430937808925, \"vid\": \"680305,675827,571131,665174,674057,594583,612193,641906,170988,680911,643892,659018,374116,677696,655402,678350,550042,435216,603544,659218,680163,678792,649426,614096,677129,377573,522766,669470,416055,677236,558139,555254,679178,603441,596391,660508,598626,644855,680371,603386,603398,603404,603406,638927,681323,661907,662644,668775,673945,631595,469022,676441,679733,673696,554836,679903,549647,644131,572465,482355,644057,615291,606548,681182,678933,673168,678315,678279,671426,546703,641191,281297,664118,325620,678473,665472,625066,662507,663955,668676,664311,680283,638335,467515,679101,679985,678876,595556,679519,679764,669426,670151,661450,654124,680983,660830\", \"city_id\": 0, \"rit\": 2, \"an\": \"news_article\", \"req_id\": \"201901041601500100140361088919AE\", \"province_id\": 0}",
"open_url": "snssdk143://detail?groupid=6641384331082203399&ad_id=1621431002013758",
"track_url": "http://v.admaster.com.cn/i/a121666,b3155991,c2343,i13805,m202,8a2,8b3,j53061747912,0a0,nd41d8cd98f00b204e9800998ecf8427e,z__IDFA__,0d9623a21460e5edeb17d087ca394ec4b5,0c83defe6828e3ec0dd2a5202376b14dd3,f183.63.164.154,t1546588911000,l__LBS__,h",
"web_url": "http://event.toutiaocloud.com/trumpchi/201901/gm6/",
"image_mode": 0,
"splash_id": 1621431002013758,
"max_display_time_ms": 4000,
"skip_btn": 1,
"id": 1621431002013758,
"display_density": "1242x1786",
"expire_seconds": 5,
"display_after": 8640000,
"title": "\u4f20\u797aGM6 \u5168\u80fd\u5bbd\u4eabMPV",
"click_track_url_list": [
"http://clickc.admaster.com.cn/c/a121666,b3155991,c2343,i13805,m101,8a2,8b3,j53061747912,0a0,nd41d8cd98f00b204e9800998ecf8427e,z__IDFA__,0d9623a21460e5edeb17d087ca394ec4b5,0c83defe6828e3ec0dd2a5202376b14dd3,f183.63.164.154,t1546588911000,l__LBS__,h"
],
"expire_timestamp": 1546704000.0,
"track_url_list": [
"http://v.admaster.com.cn/i/a121666,b3155991,c2343,i13805,m202,8a2,8b3,j53061747912,0a0,nd41d8cd98f00b204e9800998ecf8427e,z__IDFA__,0d9623a21460e5edeb17d087ca394ec4b5,0c83defe6828e3ec0dd2a5202376b14dd3,f183.63.164.154,t1546588911000,l__LBS__,h"
],
"image_info": {
"width": 1242,
"url_list": [
{
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d86acb5908ce24b0c9920"
},
{
"url": "https://sf1-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d86acb5908ce24b0c9920"
},
{
"url": "https://sf3-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d86acb5908ce24b0c9920"
}
],
"uri": "web.business.image/201901035d0d86acb5908ce24b0c9920",
"height": 1786
},
"type": "web",
"display_time": 3,
"repeat": 0,
"splash_load_type": 3,
"predownload": 31,
"web_title": "\u4f20\u797aGM6 \u5168\u80fd\u5bbd\u4eabMPV",
"click_btn": 0,
"banner_mode": 1,
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d86acb5908ce24b0c9920",
"display_time_ms": 3000,
"action": ""
},
{
"log_extra": "{\"splash_send\": \"1621698206869630 1621698215318535 1621431002013758 1621634980708413 1621634988588039\", \"ad_id\": 1621633648371735, \"vid\": \"680305,675827,571131,665174,674057,594583,612193,641906,170988,680911,643892,659018,374116,677696,655402,678350,550042,435216,603544,659218,680163,678792,649426,614096,677129,377573,522766,669470,416055,677236,558139,555254,679178,603441,596391,660508,598626,644855,680371,603386,603398,603404,603406,638927,681323,661907,662644,668775,673945,631595,469022,676441,679733,673696,554836,679903,549647,644131,572465,482355,644057,615291,606548,681182,678933,673168,678315,678279,671426,546703,641191,281297,664118,325620,678473,665472,625066,662507,663955,668676,664311,680283,638335,467515,679101,679985,678876,595556,679519,679764,669426,670151,661450,654124,680983,660830\", \"city_id\": 0, \"rit\": 2, \"an\": \"news_article\", \"req_id\": \"201901041601500100140361088919AE\", \"province_id\": 0}",
"open_url": "snssdk143://detail?groupid=6642216913403379982&ad_id=1621634980708413",
"track_url": "",
"web_url": "http://toutiao-sports.vvsvc.com/?app_from=ttkp",
"image_mode": 0,
"splash_id": 1621634980708413,
"max_display_time_ms": 7000,
"skip_btn": 1,
"id": 1621634980708413,
"display_density": "1242x2208",
"expire_seconds": 5,
"display_after": 8640000,
"title": "\u4f53\u575b\u7535\u5f71\u8282\uff0c\u8c01\u662f\u771f\u620f\u7cbe",
"click_track_url_list": [],
"expire_timestamp": 1546704000.0,
"splash_type": 2,
"track_url_list": [],
"image_info": {
"width": 1242,
"url_list": [
{
"url": "https://sf1-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20"
},
{
"url": "https://sf3-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20"
},
{
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20"
}
],
"uri": "web.business.image/201901035d0d679e106268264da89c20",
"height": 2208
},
"type": "web",
"display_time": 3,
"repeat": 0,
"splash_load_type": 3,
"predownload": 1,
"web_title": "\u4f53\u575b\u7535\u5f71\u8282\uff0c\u8c01\u662f\u771f\u620f\u7cbe",
"click_btn": 0,
"banner_mode": 0,
"url": "aHR0cDovL3YzLXR0Lml4aWd1YS5jb20vZDFmZGI0NGM5NTA4ZTg5YTg1MDQ0MzE5Y2ViMjBkMDQvNWMyZjIxMDQvdmlkZW8vbS8yMjBiNGZjYzA2NDQ1M2E0ODMzYTRhN2JjN2Y5NzA4MDMxYzExNjEzMmU1ZTAwMDA4Mzg3NzZkMmM3N2MvP3JjPWFuUjFOMjQ3UERkNGFqTXpNem96TTBBcFFIUkFiMGc4UERzME5qY3pORE0wT1RjMFBETkFLWFVwUUdjemR5bEFabXhrYm1ReFpHWTJRQzFrYTJvMU16SXRhbDh0TFdFdEwzTnpMVzhqYnlNJTJCTGpVdE15MHVMUzB5TFM0dExTNHZhVHBpTFc4ak9tQXRieU50SzJCdFlUb2pMbDQlM0Q=",
"display_time_ms": 5000,
"video_info": {
"play_track_url_list": [],
"video_url_list": [
"aHR0cDovL3YxLXR0Lml4aWd1YXZpZGVvLmNvbS81M2NhYmY3M2EzYzNlNjkwZGZjZDU0OWNmMjRhNGI1MC81YzJmMjEwNC92aWRlby9tLzIyMGI0ZmNjMDY0NDUzYTQ4MzNhNGE3YmM3Zjk3MDgwMzFjMTE2MTMyZTVlMDAwMDgzODc3NmQyYzc3Yy8/cmM9YW5SMU4yNDdQRGQ0YWpNek16b3pNMEFwUUhSQWIwZzhQRHMwTmpjek5ETTBPVGMwUEROQUtYVXBRR2N6ZHlsQVpteGtibVF4WkdZMlFDMWthMm8xTXpJdGFsOHRMV0V0TDNOekxXOGpieU0lMkJMalV0TXkwdUxTMHlMUzR0TFM0dmFUcGlMVzhqT21BdGJ5TnRLMkJ0WVRvakxsNCUzRA==",
"aHR0cDovL3YzLXR0Lml4aWd1YS5jb20vNWY0MGEwNWQxNjlhYzlmMDA0NjMxZTNhYTQzM2IwMjcvNWMyZjIxMDQvdmlkZW8vbS8yMjA5Y2Q5NWZhZmVhODg0NGRkYjMxNTViZjQ0YjlkM2EzNzExNjEzMmEyZjAwMDA0M2JmM2IwM2QxNTIvP3JjPWFuUjFOMjQ3UERkNGFqTXpNem96TTBBcFFIUkFiMGc4UERzME5qY3pORE0wT1RjMFBETkFLWFVwUUdjemR5bEFabXhrYm1ReFpHWTJRQzFrYTJvMU16SXRhbDh0TFdFdEwzTnpMVzhqYnlNJTJCTGpVdE15MHVMUzB5TFM0dExTNHZhVHBpTFc4ak9tQXRieU50SzJCdFlUb2pMbDQlM0Q=",
"aHR0cDovL3YxLXR0Lml4aWd1YXZpZGVvLmNvbS9hNDUwYjEwYTU0ZDM0YmIxZGFkYzQwYWZlM2UxNGZlZS81YzJmMjEwNC92aWRlby9tLzIyMDljZDk1ZmFmZWE4ODQ0ZGRiMzE1NWJmNDRiOWQzYTM3MTE2MTMyYTJmMDAwMDQzYmYzYjAzZDE1Mi8/cmM9YW5SMU4yNDdQRGQ0YWpNek16b3pNMEFwUUhSQWIwZzhQRHMwTmpjek5ETTBPVGMwUEROQUtYVXBRR2N6ZHlsQVpteGtibVF4WkdZMlFDMWthMm8xTXpJdGFsOHRMV0V0TDNOekxXOGpieU0lMkJMalV0TXkwdUxTMHlMUzR0TFM0dmFUcGlMVzhqT21BdGJ5TnRLMkJ0WVRvakxsNCUzRA==",
"aHR0cDovL3YzLXR0Lml4aWd1YS5jb20vNGRhYjMwN2U2YzExNDg2MmRhYTEzMDAyMTQwZTVjZDUvNWMyZjIxMDQvdmlkZW8vbS8yMjBiYjhlZDEyNTNmYjQ0MTdlOGM0MTIwM2FiNzI4ZjY5MDExNjEzNDAwZDAwMDAyY2E0ZTk2ZWFlNDMvP3JjPWFuUjFOMjQ3UERkNGFqTXpNem96TTBBcFFIUkFiMGc4UERzME5qY3pORE0wT1RjMFBETkFLWFVwUUdjemR5bEFabXhrYm1ReFpHWTJRQzFrYTJvMU16SXRhbDh0TFdFdEwzTnpMVzhqYnlNJTJCTGpVdE15MHVMUzB5TFM0dExTNHZhVHBpTFc4ak9tQXRieU50SzJCdFlUb2pMbDQlM0Q=",
"aHR0cDovL3YxLXR0Lml4aWd1YXZpZGVvLmNvbS8yMzQ0YTc5ZjA2ZjM5NzZhNmZjZDZiY2E2ZGY4YjE5Yi81YzJmMjEwNC92aWRlby9tLzIyMGJiOGVkMTI1M2ZiNDQxN2U4YzQxMjAzYWI3MjhmNjkwMTE2MTM0MDBkMDAwMDJjYTRlOTZlYWU0My8/cmM9YW5SMU4yNDdQRGQ0YWpNek16b3pNMEFwUUhSQWIwZzhQRHMwTmpjek5ETTBPVGMwUEROQUtYVXBRR2N6ZHlsQVpteGtibVF4WkdZMlFDMWthMm8xTXpJdGFsOHRMV0V0TDNOekxXOGpieU0lMkJMalV0TXkwdUxTMHlMUzR0TFM0dmFUcGlMVzhqT21BdGJ5TnRLMkJ0WVRvakxsNCUzRA=="
],
"video_density": "640x1136",
"video_id": "v02007d00000bgmu0459688km4nrgq0g",
"voice_switch": false,
"video_group_id": 6642216912493216014,
"action_track_url_list": []
},
"action": ""
},
{
"log_extra": "{\"splash_send\": \"1621698206869630 1621698215318535 1621431002013758 1621634980708413 1621634988588039\", \"ad_id\": 1621633648371735, \"vid\": \"680305,675827,571131,665174,674057,594583,612193,641906,170988,680911,643892,659018,374116,677696,655402,678350,550042,435216,603544,659218,680163,678792,649426,614096,677129,377573,522766,669470,416055,677236,558139,555254,679178,603441,596391,660508,598626,644855,680371,603386,603398,603404,603406,638927,681323,661907,662644,668775,673945,631595,469022,676441,679733,673696,554836,679903,549647,644131,572465,482355,644057,615291,606548,681182,678933,673168,678315,678279,671426,546703,641191,281297,664118,325620,678473,665472,625066,662507,663955,668676,664311,680283,638335,467515,679101,679985,678876,595556,679519,679764,669426,670151,661450,654124,680983,660830\", \"city_id\": 0, \"rit\": 2, \"an\": \"news_article\", \"req_id\": \"201901041601500100140361088919AE\", \"province_id\": 0}",
"open_url": "snssdk143://detail?groupid=6642216913403379982&ad_id=1621634988588039",
"track_url": "",
"web_url": "http://toutiao-sports.vvsvc.com/?app_from=ttkp",
"image_mode": 0,
"splash_id": 1621634988588039,
"max_display_time_ms": 4000,
"skip_btn": 1,
"id": 1621634988588039,
"display_density": "1242x2208",
"expire_seconds": 5,
"display_after": 8640000,
"title": "\u4f53\u575b\u7535\u5f71\u8282\uff0c\u8c01\u662f\u771f\u620f\u7cbe",
"click_track_url_list": [],
"expire_timestamp": 1546704000.0,
"track_url_list": [],
"image_info": {
"width": 1242,
"url_list": [
{
"url": "https://sf1-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20"
},
{
"url": "https://sf3-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20"
},
{
"url": "https://sf6-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20"
}
],
"uri": "web.business.image/201901035d0d679e106268264da89c20",
"height": 2208
},
"type": "web",
"display_time": 3,
"repeat": 0,
"splash_load_type": 3,
"predownload": 31,
"web_title": "\u4f53\u575b\u7535\u5f71\u8282\uff0c\u8c01\u662f\u771f\u620f\u7cbe",
"click_btn": 0,
"banner_mode": 0,
"url": "https://sf1-ttcdn-tos.pstatp.com/obj/web.business.image/201901035d0d679e106268264da89c20",
"display_time_ms": 3000,
"action": ""
}
],
"display_area": [],
"splash_load_interval": 20
}
}

62
splash/splash.go Normal file
View File

@ -0,0 +1,62 @@
package main
import (
"log"
crontab "474420502.top/eson/crontabex"
"474420502.top/eson/gjson"
"474420502.top/eson/imitater"
"474420502.top/test/logdb"
)
func main() {
imitater.Register("info", &TaskEx{})
person := imitater.NewPerson()
person.Config("task.yaml")
person.Execute()
}
// TaskEx 任务相关类
type TaskEx struct {
imitater.Task
db *logdb.LogDB
}
// Init 初始化函数
func (te *TaskEx) Init() {
te.db = logdb.New("../logdb.yaml")
}
// Execute 执行过程的方法
func (te *TaskEx) Execute(glocal map[string]interface{}) imitater.ITask {
resp, err := te.Request()
if err != nil {
log.Println(err)
return te
}
var adDataList []string
if gjson.Valid(resp.Content()) {
P := gjson.Parse(resp.Content())
data := P.Get(`data`)
if data.Exists() {
adData := data.Get(`splash`)
if adData.Exists() {
for _, result := range adData.Array() {
adDataList = append(adDataList, result.String())
}
}
}
} else {
log.Println("be careful:", resp.Content())
}
if imitater.ADDataSave(te, te.db, adDataList) {
te.GetCrontab().SetStatus(crontab.SExecuteOK, true)
} else {
te.GetCrontab().SetStatus(crontab.SExecuteOK, false)
}
return te
}

38
splash/splash_test.go Normal file
View File

@ -0,0 +1,38 @@
package main
import (
"io/ioutil"
"testing"
"474420502.top/eson/gjson"
)
func TestTaskEx_Execute(t *testing.T) {
data, err := ioutil.ReadFile("../splash.json")
if err != nil {
panic(err)
}
var adDataList []string
if gjson.Valid(string(data)) {
P := gjson.Parse(string(data))
data := P.Get(`data`)
if data.Exists() {
adData := data.Get(`splash`)
if adData.Exists() {
for _, result := range adData.Array() {
adDataList = append(adDataList, result.String())
}
} else {
t.Error(`expr error`)
}
}
}
if len(adDataList) != 1 {
t.Error("adDataList != 1")
t.Error(adDataList)
}
}

5
splash/task.curl Normal file
View File

@ -0,0 +1,5 @@
curl --name "tt-info" --task "info" 'https://it.snssdk.com/api/news/feed/v88/?list_count=17&support_rn=4&concern_id=6286225228934679042&refer=1&refresh_reason=1&session_refresh_idx=2&count=20&min_behot_time=1545427212&last_refresh_sub_entrance_interval=1545427282&loc_mode=5&loc_time=1545425201&latitude=23.060406&longitude=113.380702&city=%E5%B9%BF%E5%B7%9E%E5%B8%82&tt_from=pull&plugin_enable=3&st_time=295&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=54363182959&device_id=55149394150&ac=wifi&channel=xiaomi&aid=13&app_name=news_article&version_code=703&version_name=7.0.3&device_platform=android&ab_version=611285%2C662505%2C659641%2C640301%2C661854%2C486952%2C654085%2C651369%2C662176%2C472113%2C292723%2C659345%2C571131%2C616214%2C638883%2C639002%2C239095%2C612191%2C641905%2C170988%2C655796%2C643891%2C631016%2C659018%2C374117%2C652002%2C600231%2C587817%2C649422%2C633720%2C613176%2C550042%2C603542%2C659212%2C627550%2C656673%2C659530%2C649427%2C614100%2C522765%2C659286%2C416055%2C621360%2C656462%2C651696%2C643100%2C661405%2C652331%2C558140%2C555254%2C640008%2C659763%2C471406%2C603440%2C596392%2C660510%2C630576%2C598626%2C644857%2C646252%2C603379%2C603401%2C603404%2C603405%2C638928%2C662915%2C659552%2C646564%2C648850%2C656461%2C657631%2C661899%2C662644%2C629152%2C607361%2C567866%2C609337%2C662818%2C652366%2C662099%2C641414%2C654358%2C651920%2C662280%2C655010%2C650887%2C622716%2C662145%2C622728%2C653957%2C659453%2C663071%2C640997%2C641080%2C661616%2C660462%2C662397%2C631594%2C653241%2C658364%2C639497%2C554836%2C549647%2C644131%2C472442%2C31210%2C572465%2C651597%2C644058%2C615291%2C606547%2C442255%2C662167%2C660075%2C648180%2C630218%2C546701%2C281298%2C658129%2C622045%2C325619%2C649526%2C659121%2C634871%2C625066%2C652952%2C659705%2C653947%2C431142%2C498375%2C657352%2C638335%2C467513%2C655847%2C644240%2C631638%2C661473%2C648895%2C661697%2C655235%2C595556%2C662226%2C661444%2C661450%2C654129%2C655710%2C658938%2C660830%2C656557%2C644675%2C662684%2C661781%2C293032%2C457481%2C649402%2C591908%2C655988%2C648316%2C640210&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167&ab_feature=94563%2C102749&abflag=3&ssmix=a&device_type=MI+8+SE&device_brand=Xiaomi&language=zh&os_api=27&os_version=8.1.0&uuid=99001141462873&openudid=58cccf5030e9cbd4&manifest_version_code=703&resolution=1080*2114&dpi=440&update_version_code=70315&_rticket=1545427282300&plugin=26958&pos=5r_-9Onkv6e_eCQieCoDeCUfv7G_8fLz-vTp6Pn4v6esrK6zrqWtqq2vsb_x_On06ej5-L-nr66zrautqa2rsb_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOprailq6qxv_zw_O3R_On06ej5-L-nr66zraiqr66k4A%3D%3D&fp=zlT_L2UeLlPrFlPrPrU1FYwIJlm1&tma_jssdk_version=1.7.1.4&rom_version=miui_v10_v10.0.1.0.oebcnfh&ts=1545427282&as=a2e5950142f59cb9ad4355&mas=003b846ae93dd45c6424279ced4ec37f45f047464606686ecd&cp=50c91ad559952q1' -H 'Host: it.snssdk.com' -H 'Connection: keep-alive' -H 'Cookie: odin_tt=5bc108effff4529886a0aa36812c115d38b0e739f9abff2139107953c017cc62343bab05794f7fb3075b25846f32c178; UM_distinctid=1655625f84a18e-0897e6c8fc225e-6b55284e-4e4b0-1655625f84c3b; __tea_sdk__ssid=a79e00a6-b717-423f-9e97-f8ac84635f7e; tt_webid=6591877343492081160; __tea_sdk__user_unique_id=6591877343492081160; _ga=GA1.2.1032699944.1534947531; sid_guard=5ccb73ded741fb5f56e64623ca03ac8b%7C1544665500%7C5184000%7CMon%2C+11-Feb-2019+01%3A45%3A00+GMT; uid_tt=1f76f0742e12b4f8a5f32c009d5f7c52; sid_tt=5ccb73ded741fb5f56e64623ca03ac8b; sessionid=5ccb73ded741fb5f56e64623ca03ac8b; install_id=54363182959; ttreq=1$05885f6b61aaffcd5e901e181629f2e1d2851d21; qh[360]=1; alert_coverage=77' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1545427282310' -H 'X-Tt-Token: 005ccb73ded741fb5f56e64623ca03ac8bdc236ae81584d4b02df898418e84e101852bddfc64ca324cdf12e2a5ea1d924039' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; MI 8 SE MIUI/V10.0.1.0.OEBCNFH) NewsArticle/7.0.3 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0'
curl 'http://is.snssdk.com/api/news/feed/v88/?list_count=17&support_rn=4&category=news_entertainment&concern_id=6215497896830175745&refer=1&refresh_reason=1&session_refresh_idx=2&count=20&min_behot_time=1546566352&last_refresh_sub_entrance_interval=1546566639&loc_mode=5&loc_time=1546564033&latitude=23.060406&longitude=113.380702&city=%E5%B9%BF%E5%B7%9E%E5%B8%82&tt_from=pull&plugin_enable=3&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=55784134153&device_id=55149394150&ac=wifi&channel=xiaomi&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C677773%2C486952%2C673652%2C651369%2C662176%2C472113%2C292723%2C680425%2C571131%2C674048%2C639002%2C612191%2C641905%2C170988%2C651014%2C643891%2C631016%2C659018%2C374117%2C652002%2C671751%2C645865%2C587817%2C655402%2C678353%2C613176%2C550042%2C679703%2C603542%2C659212%2C627550%2C680164%2C678790%2C649427%2C614100%2C677128%2C522765%2C669469%2C666019%2C416055%2C558140%2C555254%2C679177%2C471406%2C603440%2C596392%2C660510%2C598626%2C644857%2C680371%2C603379%2C603401%2C603404%2C603405%2C638928%2C662915%2C677669%2C661899%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635531%2C652366%2C662099%2C641414%2C664191%2C654358%2C651920%2C671245%2C655010%2C680507%2C622716%2C672873%2C678532%2C640997%2C641080%2C668774%2C679518%2C678338%2C631594%2C671445%2C676442%2C679732%2C554836%2C679903%2C549647%2C644131%2C472442%2C31210%2C572465%2C675212%2C651597%2C644058%2C615291%2C606547%2C678933%2C673168%2C678317%2C678279%2C546701%2C281298%2C658129%2C325619%2C678477%2C665473%2C625066%2C652952%2C677794%2C664311%2C431142%2C679143%2C678265%2C638335%2C467513%2C679101%2C679985%2C678878%2C595556%2C679519%2C678327%2C669426%2C670151%2C661450%2C654129%2C660830%2C656557%2C662684%2C661781%2C293032%2C457481%2C649402%2C591908%2C655988%2C648316%2C640210&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167&ab_feature=94563%2C102749&abflag=3&ssmix=a&device_type=MI+8+SE&device_brand=Xiaomi&language=zh&os_api=27&os_version=8.1.0&uuid=99001141462873&openudid=58cccf5030e9cbd4&manifest_version_code=704&resolution=1080*2114&dpi=440&update_version_code=70412&_rticket=1546566639364&plugin=26958&pos=5r_-9Onkv6e_eCQieCoDeCUfv7G_8fLz-vTp6Pn4v6esrK6zrqWtqq2vsb_x_On06ej5-L-nr66zrautqa2r4A%3D%3D&fp=zlT_L2UeLlPrFlPrPrU1FYwIJlm1&tma_jssdk_version=1.8.0.4&rom_version=miui_v10_v10.2.1.0.oebcnfk&ts=1546566640&as=a2a5ebb270cf3c5bee4355&mas=00fdecf117bbae1b81758aae487cb50d0e84cac44e06686ee3&cp=5ec52ae7b7befq1' -H 'Host: is.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=5bc108effff4529886a0aa36812c115d38b0e739f9abff2139107953c017cc62343bab05794f7fb3075b25846f32c178; UM_distinctid=1655625f84a18e-0897e6c8fc225e-6b55284e-4e4b0-1655625f84c3b; __tea_sdk__ssid=a79e00a6-b717-423f-9e97-f8ac84635f7e; tt_webid=6591877343492081160; __tea_sdk__user_unique_id=6591877343492081160; CNZZDATA1264530760=1269028608-1534945655-%7C1534945655; _ga=GA1.2.1032699944.1534947531; sid_guard=5ccb73ded741fb5f56e64623ca03ac8b%7C1544665500%7C5184000%7CMon%2C+11-Feb-2019+01%3A45%3A00+GMT; uid_tt=1f76f0742e12b4f8a5f32c009d5f7c52; sid_tt=5ccb73ded741fb5f56e64623ca03ac8b; sessionid=5ccb73ded741fb5f56e64623ca03ac8b; install_id=55784134153; ttreq=1$2b24406b6e1991a32caf4e4246870c3aad035627; qh[360]=1' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546566639369' -H 'X-Tt-Token: 005ccb73ded741fb5f56e64623ca03ac8b4fdb0fecc878b0c12132ca816432015792c6fb48ef4c9d781db882a81ad5f96715' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; MI 8 SE MIUI/V10.2.1.0.OEBCNFK) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0'
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=142&support_rn=4&concern_id=6286225228934679042&refer=1&refresh_reason=1&session_refresh_idx=13&count=20&min_behot_time=1546582457&last_refresh_sub_entrance_interval=1546582480&loc_mode=4&tt_from=pull&lac=9502&cid=112375554&plugin_enable=3&st_time=1798&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C661907%2C662644%2C668775%2C673945%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=102754%2C94567&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546582480148&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.1.0.13&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546582480&as=a2b53ff2e0ad3c590e4355&mas=00f49a898835c1da8d1028395f0076f7c25ecd6e4e06686eb8&cp=55ca22eaf39d0q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546582480161' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=23&support_rn=4&refer=1&refresh_reason=1&session_refresh_idx=2&count=20&min_behot_time=1546583795&last_refresh_sub_entrance_interval=1546587571&loc_mode=4&tt_from=pull&lac=9502&cid=112375554&plugin_enable=3&st_time=6818&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587571060&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587571&as=a235f032b3ab4ced2f4355&mas=00a9ef768e5e683077ddbb78433d5483534426aa4206686ee0&cp=5dca2af006db3q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587571070' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed
curl -X 'GET' 'http://lf.snssdk.com/api/news/feed/v88/?list_count=34&support_rn=4&refer=1&refresh_reason=6&session_refresh_idx=3&count=20&min_behot_time=1546587571&last_refresh_sub_entrance_interval=1546587639&loc_mode=4&lac=9502&cid=112375554&plugin_enable=3&st_time=6887&sati_extra_params=%7B%22last_click_item_list%22%3A%5B%5D%7D&iid=56493295608&device_id=53061747912&ac=wifi&channel=meizu&aid=13&app_name=news_article&version_code=704&version_name=7.0.4&device_platform=android&ab_version=679615%2C664543%2C680643%2C666150%2C486952%2C651365%2C662176%2C680305%2C675827%2C571131%2C665174%2C674057%2C594583%2C612193%2C641906%2C170988%2C680911%2C643892%2C659018%2C374116%2C655402%2C678350%2C550042%2C435216%2C603544%2C659218%2C680163%2C678792%2C649426%2C614096%2C677129%2C377573%2C522766%2C669470%2C416055%2C677236%2C558139%2C555254%2C679178%2C603441%2C596391%2C660508%2C598626%2C644855%2C680371%2C603386%2C603398%2C603404%2C603406%2C638927%2C681323%2C661907%2C662644%2C668775%2C673945%2C629152%2C607361%2C609337%2C666967%2C635530%2C652363%2C662099%2C641413%2C673358%2C664194%2C654355%2C669191%2C671245%2C681071%2C680507%2C667071%2C622716%2C672874%2C680352%2C640997%2C641077%2C671798%2C668774%2C679516%2C631595%2C469022%2C676441%2C679733%2C673696%2C554836%2C679903%2C549647%2C644131%2C572465%2C482355%2C644057%2C615291%2C606548%2C681182%2C678933%2C673168%2C678315%2C678279%2C671426%2C546703%2C641191%2C281297%2C664118%2C325620%2C678473%2C665472%2C625066%2C662507%2C663955%2C668676%2C664311%2C680283%2C638335%2C467515%2C679101%2C679985%2C678876%2C595556%2C679519%2C679764%2C669426%2C670151%2C661450%2C654124%2C680983%2C660830%2C679538%2C656557%2C633487%2C662683%2C661781%2C457481%2C649400%2C655989%2C677104&ab_client=a1%2Cc4%2Ce1%2Cf1%2Cg2%2Cf7&ab_group=100167%2C94567%2C102754%2C181431&ab_feature=94567%2C102754&abflag=3&ssmix=a&device_type=U20&device_brand=Meizu&language=zh&os_api=23&os_version=6.0&uuid=861578036046061&openudid=d67c17290ee19a25&manifest_version_code=704&resolution=1080*1920&dpi=480&update_version_code=70412&_rticket=1546587639826&fp=2ST_F255JlQZFlcuJ2U1FYmeFzGS&tma_jssdk_version=1.8.0.4&pos=5r_88Pzt3vTp5L-nv3gkIngqA3glH7-xv_zw_O3R8vP69Ono-fi_p6ysrrOupaukqKmxv_zw_O3R_On06ej5-L-nr66zrairqqWo4A%3D%3D&rom_version=23&plugin=26958&ts=1546587639&as=a2c5b072179fbcddaf4355&mas=00d2e76450aa87928b3688eaf45a107c994cec064206686ef0&cp=5fc327fb0edf7q1' -H 'Host: lf.snssdk.com' -H 'Proxy-Connection: keep-alive' -H 'Cookie: odin_tt=b8dec487941fe35d2148bf9724de5e6659e65cf98541eee4f3573236e60d5f3c02a83ba067b8cd80a6685ac034db06ac; UM_distinctid=1653b99a5601-0c98c05be-2d4e2043-38400-1653b99a5641a; CNZZDATA1264530760=838951947-1534301713-%7C1534748760; __tea_sdk__ssid=290d7879-cb91-4e4c-aecd-b6239e2f04dc; tt_webid=6598313444424123907; __tea_sdk__user_unique_id=6598313444424123907; sid_guard=897e58fa1fa260bad70d802cbeee9225%7C1536824928%7C5184000%7CMon%2C+12-Nov-2018+07%3A48%3A48+GMT; CNZZDATA1263676333=575629806-1537840457-null%7C1537840457; qh[360]=1; install_id=56493295608; ttreq=1$b75d7a1dcbdafb18503a62139b7d79dc7aeeddb2' -H 'Accept-Encoding: gzip' -H 'X-SS-REQ-TICKET: 1546587639834' -H 'sdk-version: 1' -H 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0; U20 Build/MRA58K) NewsArticle/7.0.4 cronet/TTNetVersion:a729d5c3 2018-11-25' -H 'X-SS-TC: 0' --compressed

19
splash/task.yaml Normal file
View File

@ -0,0 +1,19 @@
mode : 0
# proxies : "socks5://10.10.0.1:8080" // 支持, 列表 与 单项字符串
proxies : ["socks5://10.10.0.1:8080", "socks5://10.10.0.1:8082", "socks5://10.10.0.1:8083", "socks5://10.10.0.1:8085", "socks5://10.10.0.1:8087", "socks5://10.10.0.1:8088", "socks5://10.10.0.1:8091"]
retry : 0
timeout: 12
priority : 10000
curls : "@task.curl" # 支持, 列表 与 单项字符串
task: "info"
device : "eson-OnePlus"
platform : "Android"
# area_cc : 4401
channel : 105
media : 55
spider_id : 10001004
catch_account_id : 1001004
crontab: "f=180|s=30"