t1.0.0
This commit is contained in:
commit
eb835d2aba
64
article/article.go
Normal file
64
article/article.go
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"log"
|
||||||
|
"regexp"
|
||||||
|
|
||||||
|
"github.com/tidwall/gjson"
|
||||||
|
|
||||||
|
crontab "474420502.top/eson/crontabex"
|
||||||
|
"474420502.top/eson/imitater"
|
||||||
|
"474420502.top/test/logdb"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
imitater.Register("article", &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
|
||||||
|
rule := regexp.MustCompile(`\\"label\\"\:\\"广告\\"|\\"label_style\\"\:3`)
|
||||||
|
if rule.MatchString(resp.Content()) {
|
||||||
|
if gjson.Valid(resp.Content()) {
|
||||||
|
P := gjson.Parse(resp.Content())
|
||||||
|
gADDate := P.Get(`data.ordered_info.#.ad_data`)
|
||||||
|
if gADDate.Exists() {
|
||||||
|
for _, result := range gADDate.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
|
||||||
|
}
|
32
article/article_test.go
Normal file
32
article/article_test.go
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"io/ioutil"
|
||||||
|
"log"
|
||||||
|
"regexp"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/tidwall/gjson"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestTaskEx_Execute(t *testing.T) {
|
||||||
|
rule := regexp.MustCompile(`\\"label\\"\:\\"广告\\"|\\"label_style\\"\:3`)
|
||||||
|
data, err := ioutil.ReadFile("../s.json")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
log.Println(rule.MatchString(string(data)))
|
||||||
|
log.Println(gjson.Valid(string(data)))
|
||||||
|
|
||||||
|
P := gjson.Parse(string(data))
|
||||||
|
gADDate := P.Get(`data.ordered_info.#.ad_data`)
|
||||||
|
log.Println(gADDate.Exists(), gADDate.IsArray())
|
||||||
|
|
||||||
|
if !(gADDate.Exists() && gADDate.IsArray()) {
|
||||||
|
t.Error("path is error")
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, result := range gADDate.Array() {
|
||||||
|
log.Println(gjson.Valid(result.Raw))
|
||||||
|
}
|
||||||
|
}
|
1
article/task.curl
Normal file
1
article/task.curl
Normal file
|
@ -0,0 +1 @@
|
||||||
|
curl --name "tt-article" --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' --task toutiao -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'
|
19
article/task.yaml
Normal file
19
article/task.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
mode : 0
|
||||||
|
# proxies : "socks5://10.10.10.1:8080" // 支持, 列表 与 单项字符串
|
||||||
|
proxies : ["socks5://10.10.10.1:8080", "socks5://10.10.10.1:8082", "socks5://10.10.10.1:8083", "socks5://10.10.10.1:8085", "socks5://10.10.10.1:8087", "socks5://10.10.10.1:8088", "socks5://10.10.10.1:8091"]
|
||||||
|
retry : 0
|
||||||
|
timeout: 12
|
||||||
|
priority : 10000
|
||||||
|
|
||||||
|
curls : "@task.curl" # 支持, 列表 与 单项字符串
|
||||||
|
|
||||||
|
task: "article"
|
||||||
|
device : "eson-OnePlus"
|
||||||
|
platform : "Android"
|
||||||
|
# area_cc : 4401
|
||||||
|
channel : 105
|
||||||
|
media : 55
|
||||||
|
spider_id : 10001001
|
||||||
|
catch_account_id : 1001001
|
||||||
|
|
||||||
|
crontab: "f8>=240|f5>=120|f=60|s=5|s10>=10|s20>=5"
|
78
content.json
Normal file
78
content.json
Normal file
File diff suppressed because one or more lines are too long
74
content2.json
Normal file
74
content2.json
Normal file
File diff suppressed because one or more lines are too long
52
glide.lock
generated
Normal file
52
glide.lock
generated
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
hash: 0c58405d25d12251bdcdc8916b835c0e1150c624e86778a7993356b50e6a80cb
|
||||||
|
updated: 2018-12-23T18:54:39.299055148+08:00
|
||||||
|
imports:
|
||||||
|
- name: 474420502.top/eson/crontabex
|
||||||
|
version: b7f0209cc399e87215b0b082e3c4e83a0d7b3a9c
|
||||||
|
repo: http://474420502.top/eson/crontabex
|
||||||
|
- name: 474420502.top/eson/curl2info
|
||||||
|
version: 478ceec906c3c3a36503d317369d45b0527da3d5
|
||||||
|
repo: http://474420502.top/eson/curl2info
|
||||||
|
- name: 474420502.top/eson/gjson
|
||||||
|
version: 081192fa2e471ddff3ec98a3cc04fecfd031ed57
|
||||||
|
repo: http://474420502.top/eson/gjson
|
||||||
|
- name: 474420502.top/eson/imitater
|
||||||
|
version: 69ea336e44c26c301aae3fe9e25746b6d29df864
|
||||||
|
repo: http://474420502.top/eson/imitater
|
||||||
|
- name: 474420502.top/eson/requests
|
||||||
|
version: 965d1e6d16ae595fa6290744b0fc326a0ea83256
|
||||||
|
repo: http://474420502.top/eson/requests
|
||||||
|
- name: 474420502.top/eson/structure
|
||||||
|
version: fd4d47445f8c3f0a6e200be8996c984909f065ed
|
||||||
|
repo: http://474420502.top/eson/structure
|
||||||
|
subpackages:
|
||||||
|
- circular_linked
|
||||||
|
- priority_list
|
||||||
|
- name: 474420502.top/test/logdb
|
||||||
|
version: 2c996115f03d84733739c6743b057f1ded3ca390
|
||||||
|
repo: http://474420502.top/test/logdb
|
||||||
|
- name: github.com/davecgh/go-spew
|
||||||
|
version: d8f796af33cc11cb798c1aaeb27a4ebc5099927d
|
||||||
|
subpackages:
|
||||||
|
- spew
|
||||||
|
- name: github.com/go-sql-driver/mysql
|
||||||
|
version: c45f530f8e7fe40f4687eaa50d0c8c5f1b66f9e0
|
||||||
|
- name: github.com/Pallinder/go-randomdata
|
||||||
|
version: 97a2356fcab20708fb8ae46cbbf69a5bc9feca63
|
||||||
|
- name: github.com/satori/go.uuid
|
||||||
|
version: b2ce2384e17bbe0c6d34077efa39dbab3e09123b
|
||||||
|
- name: github.com/tidwall/gjson
|
||||||
|
version: 081192fa2e471ddff3ec98a3cc04fecfd031ed57
|
||||||
|
- name: github.com/tidwall/match
|
||||||
|
version: 33827db735fff6510490d69a8622612558a557ed
|
||||||
|
- name: golang.org/x/net
|
||||||
|
version: 927f97764cc334a6575f4b7a1584a147864d5723
|
||||||
|
subpackages:
|
||||||
|
- publicsuffix
|
||||||
|
- name: google.golang.org/appengine
|
||||||
|
version: e9657d882bb81064595ca3b56cbe2546bbabf7b1
|
||||||
|
subpackages:
|
||||||
|
- cloudsql
|
||||||
|
- name: gopkg.in/yaml.v2
|
||||||
|
version: 51d6538a90f86fe93ac480b35f37b2be17fef232
|
||||||
|
testImports: []
|
17
glide.yaml
Normal file
17
glide.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
package: .
|
||||||
|
import:
|
||||||
|
- package: src/474420502.top/eson/crontabex
|
||||||
|
repo: http://474420502.top/eson/crontabex
|
||||||
|
- package: src/474420502.top/eson/imitater
|
||||||
|
repo: http://474420502.top/eson/imitater
|
||||||
|
- package: src/474420502.top/test/logdb
|
||||||
|
repo: http://474420502.top/test/logdb
|
||||||
|
- package: src/474420502.top/eson/gjson
|
||||||
|
repo: http://474420502.top/eson/gjson
|
||||||
|
version: eson
|
||||||
|
- package: src/474420502.top/eson/structure
|
||||||
|
repo: http://474420502.top/eson/structure
|
||||||
|
- package: src/474420502.top/eson/curl2info
|
||||||
|
repo: http://474420502.top/eson/curl2info
|
||||||
|
- package: src/474420502.top/eson/requests
|
||||||
|
repo: http://474420502.top/eson/requests
|
63
info/info.go
Normal file
63
info/info.go
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"log"
|
||||||
|
"regexp"
|
||||||
|
|
||||||
|
crontab "474420502.top/eson/crontabex"
|
||||||
|
"474420502.top/eson/imitater"
|
||||||
|
"474420502.top/test/logdb"
|
||||||
|
"github.com/tidwall/gjson"
|
||||||
|
)
|
||||||
|
|
||||||
|
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
|
||||||
|
rule := regexp.MustCompile(`\\"label\\"\:\\"广告\\"|\\"label_style\\"\:3`)
|
||||||
|
if rule.MatchString(resp.Content()) {
|
||||||
|
if gjson.Valid(resp.Content()) {
|
||||||
|
P := gjson.Parse(resp.Content())
|
||||||
|
gADDate := P.Get(`data.#[content ~ @label_style\":3@ ]#.content`)
|
||||||
|
if gADDate.Exists() {
|
||||||
|
log.Println("match true")
|
||||||
|
for _, result := range gADDate.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
|
||||||
|
}
|
36
info/info_test.go
Normal file
36
info/info_test.go
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"io/ioutil"
|
||||||
|
"log"
|
||||||
|
"regexp"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"474420502.top/eson/gjson"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestTaskEx_Execute(t *testing.T) {
|
||||||
|
rule := regexp.MustCompile(`\\"label\\"\:\\"广告\\"|\\"label_style\\"\:3`)
|
||||||
|
data, err := ioutil.ReadFile("../sss.json")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
log.Println(rule.MatchString(string(data)))
|
||||||
|
log.Println(gjson.Valid(string(data)))
|
||||||
|
|
||||||
|
P := gjson.Parse(string(data))
|
||||||
|
gADDate := P.Get(`data.#[content ~ @label_style\":3@ ]#.content`)
|
||||||
|
log.Println(gADDate.Exists(), gADDate.IsArray())
|
||||||
|
|
||||||
|
if !(gADDate.Exists() && gADDate.IsArray()) {
|
||||||
|
t.Error("path is error")
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, result := range gADDate.Array() {
|
||||||
|
if !gjson.Valid(result.Raw) {
|
||||||
|
t.Error(result.String())
|
||||||
|
}
|
||||||
|
log.Println(result.String())
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
1
info/task.curl
Normal file
1
info/task.curl
Normal file
|
@ -0,0 +1 @@
|
||||||
|
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'
|
19
info/task.yaml
Normal file
19
info/task.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
mode : 0
|
||||||
|
# proxies : "socks5://10.10.10.1:8080" // 支持, 列表 与 单项字符串
|
||||||
|
proxies : ["socks5://10.10.10.1:8080", "socks5://10.10.10.1:8082", "socks5://10.10.10.1:8083", "socks5://10.10.10.1:8085", "socks5://10.10.10.1:8087", "socks5://10.10.10.1:8088", "socks5://10.10.10.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 : 10001002
|
||||||
|
catch_account_id : 1001002
|
||||||
|
|
||||||
|
crontab: "f8>=240|f5>=120|f=60|s=5|s10>=10|s20>=5"
|
6
logdb.yaml
Normal file
6
logdb.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
charset: utf8mb4
|
||||||
|
db: test_log
|
||||||
|
hosts: [192.168.6.101,192.168.6.102,192.168.6.103,192.168.6.104,192.168.6.105]
|
||||||
|
password: ag-spider-log
|
||||||
|
port: 4000
|
||||||
|
user: spider
|
3
require.sh
Normal file
3
require.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
go get -u -insecure 474420502.top/eson/crontabex
|
||||||
|
go get -u -insecure 474420502.top/eson/imitater
|
||||||
|
go get -u -insecure 474420502.top/test/logdb
|
334
s.json
Normal file
334
s.json
Normal file
|
@ -0,0 +1,334 @@
|
||||||
|
{
|
||||||
|
"data": {
|
||||||
|
"ban_bury": 0,
|
||||||
|
"ban_comment": 0,
|
||||||
|
"ban_digg": 0,
|
||||||
|
"bury_count": 0,
|
||||||
|
"comment_count": 4,
|
||||||
|
"context": "{\"cards\":[{}],\"labels\":{\"labels_style\":2,\"labels_words\":[{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%8A%A8%E4%BD%9C%E5%86%92%E9%99%A9%E6%B8%B8%E6%88%8F\\u0026source=article_tag\",\"word\":\"动作冒险游戏\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E6%89%8B%E6%9C%BA%E5%8A%A8%E4%BD%9C%E5%86%92%E9%99%A9%E6%B8%B8%E6%88%8F\\u0026source=article_tag\",\"word\":\"手机动作冒险游戏\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%8D%95%E6%9C%BA%E6%89%8B%E6%B8%B8%E5%BC%BA%E5%8A%9B%E6%8E%A8%E8%8D%90\\u0026source=article_tag\",\"word\":\"单机手游强力推荐\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%86%92%E9%99%A9%E6%B8%B8%E6%88%8F%E6%8E%A8%E8%8D%90\\u0026source=article_tag\",\"word\":\"冒险游戏推荐\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%A4%A7%E5%9E%8B%E5%86%92%E9%99%A9%E6%B8%B8%E6%88%8F%E8%A7%A3%E8%AF%B4\\u0026source=article_tag\",\"word\":\"大型冒险游戏解说\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%A5%BD%E7%8E%A9%E7%9A%84pc%E6%B8%B8%E6%88%8F\\u0026source=article_tag\",\"word\":\"好玩的pc游戏\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=shadows\\u0026source=article_tag\",\"word\":\"shadows\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%A5%BD%E7%8E%A9%E7%9A%84%E5%8D%95%E6%9C%BA%E6%89%8B%E6%B8%B8%E5%85%AD\\u0026source=article_tag\",\"word\":\"好玩的单机手游六\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%8F%91%E8%A1%A8\\u0026source=article_tag\",\"word\":\"发表\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=briefing\\u0026source=article_tag\",\"word\":\"briefing\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=sekiro\\u0026source=article_tag\",\"word\":\"sekiro\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=Activision\\u0026source=article_tag\",\"word\":\"Activision\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E6%96%B0%E4%BD%9C\\u0026source=article_tag\",\"word\":\"新作\"},{\"link\":\"sslocal://search?extra=%7B%27entra_from%27%3A+%27click_related%27%2C+%27group_id%27%3A+6565653745026204168%7D\\u0026from=article_tag_wap_2\\u0026gd_ext_json=%7B%22enter_from%22%3A%22click_related%22%7D\\u0026keyword=%E5%8F%AA%E7%8B%BC\\u0026source=article_tag\",\"word\":\"只狼\"}],\"query_word\":\"\",\"search_id\":\"\"},\"read_count\":265,\"tip\":\"\"}",
|
||||||
|
"detail_show_flags": 0,
|
||||||
|
"digg_count": 0,
|
||||||
|
"display_url": "http://toutiao.com/group/6565653745026204168/",
|
||||||
|
"filter_words": [
|
||||||
|
{
|
||||||
|
"id": "5:6565653745026204168",
|
||||||
|
"name": "拉黑作者:幸好1917"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group_flags": 0,
|
||||||
|
"group_id": 6565653745026204168,
|
||||||
|
"h5_extra": {
|
||||||
|
"have_red_pack": 0,
|
||||||
|
"is_original": false,
|
||||||
|
"is_subscribed": 0,
|
||||||
|
"media": {
|
||||||
|
"avatar_url": "http://p3.pstatp.com/large/6ee10005567a623bf5ed",
|
||||||
|
"can_be_praised": false,
|
||||||
|
"description": "每天分享游戏视频,欢迎关注",
|
||||||
|
"id": 1598790750331917,
|
||||||
|
"name": "幸好1917",
|
||||||
|
"pgc_custom_menu": "",
|
||||||
|
"user_auth_info": "",
|
||||||
|
"user_decoration": "",
|
||||||
|
"user_verified": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ignore_web_transform": 0,
|
||||||
|
"info_flag": 7,
|
||||||
|
"is_wenda": 0,
|
||||||
|
"like_count": 0,
|
||||||
|
"like_desc": "关心这篇文章,会推荐更多此类内容",
|
||||||
|
"log_pb": {
|
||||||
|
"impr_id": "20181217142841010023072098899C7E3"
|
||||||
|
},
|
||||||
|
"media_info": {
|
||||||
|
"avatar_url": "http://p3.pstatp.com/large/6ee10005567a623bf5ed",
|
||||||
|
"description": "每天分享游戏视频,欢迎关注",
|
||||||
|
"media_id": 1598790750331917,
|
||||||
|
"name": "幸好1917",
|
||||||
|
"special_column": [],
|
||||||
|
"subcribed": 0,
|
||||||
|
"user_auth_info": "",
|
||||||
|
"user_id": 96277960261,
|
||||||
|
"user_verified": false
|
||||||
|
},
|
||||||
|
"ordered_info": [
|
||||||
|
{
|
||||||
|
"data": {
|
||||||
|
"like_num": 0,
|
||||||
|
"user_like": 0
|
||||||
|
},
|
||||||
|
"name": "like_and_rewards"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ad_data": "{\"is_preview\":false,\"mixed\":{\"button_text\":\"查看详情\",\"click_track_url_list\":[],\"dislike\":[{\"name\":\"为什么看到此广告\",\"open_url\":\"sslocal://webview?url=https%3a%2f%2fi.snssdk.com%2fapi%2fad%2ffeedback%2fprivacy%2fpage%3ftype%3dad_dislike\\u0026hide_more=1\\u0026title=为什么看到此广告\"}],\"display_subtype\":3,\"filter_words\":[{\"id\":\"4:2\",\"is_selected\":false,\"name\":\"看过了\"},{\"id\":\"2:0\",\"is_selected\":false,\"name\":\"屏蔽:新一代福克斯的广告\"},{\"id\":\"1:2\",\"is_selected\":false,\"name\":\"屏蔽:汽车类广告\"},{\"id\":\"1:38\",\"is_selected\":false,\"name\":\"屏蔽:车型介绍类广告\"}],\"id\":1619821766057021,\"image\":\"http://sf3-ttcdn-tos.pstatp.com/obj/web.business.image/201812115d0dbe19bd513f2e46569edd\",\"image_height\":720,\"image_width\":1280,\"intercept_flag\":2,\"label\":\"广告\",\"log_extra\":\"{\\\"ad_price\\\":\\\"XBdCGgANdhtcF0IaAA12G5NzvRhBoar1KCX3Ng\\\",\\\"convert_component_suspend\\\":0,\\\"convert_id\\\":0,\\\"external_action\\\":0,\\\"item_id\\\":6565653745026204168,\\\"media_id\\\":1598790750331917,\\\"orit\\\":null,\\\"req_id\\\":\\\"20181217142841010023072098899C7E3\\\",\\\"rit\\\":3}\",\"open_url\":\"snssdk143://detail?groupid=6634789975462248708\\u0026ad_id=1619821766057021\",\"share_info\":{\"share_desc\":\"\",\"share_icon\":\"\",\"share_title\":\"\",\"share_url\":\"https://adshare.toutiao.com/s/23XCsGaZhlfSHx-75Zr3jQg5LbjzQNjkZoi8GVG0TAHyXswOhLUW42p6CyWGp8WsKrWdMiKIrctNg=\"},\"show_dislike\":1,\"source_name\":\"新一代福克斯\",\"title\":\"新一代福克斯精彩上市10.88- 15.08万元\",\"track_url\":\"http://g.cn.miaozhen.com/x/k=2106427\\u0026p=7K7y0\\u0026dx=__IPDX__\\u0026rt=2\\u0026ns=49.64.215.211\\u0026ni=__IESID__\\u0026v=__LOC__\\u0026xa=__ADPLATFORM__\\u0026tr=__REQUESTID__\\u0026mo=0\\u0026m0=9b35a4035eecee2c\\u0026m0a=__DUID__\\u0026m1=9b35a4035eecee2c\\u0026m1a=798ea282a3400750b394738cba571cc1\\u0026m2=7256d2fce7032bc62f61ed308e277d60\\u0026m4=__AAID__\\u0026m5=__IDFA__\\u0026m6=__MAC1__\\u0026m6a=__MAC__\\u0026ls=22.831367x-113.511515x100.0\\u0026vv=1\\u0026o=\",\"track_url_list\":[\"http://g.cn.miaozhen.com/x/k=2106427\\u0026p=7K7y0\\u0026dx=__IPDX__\\u0026rt=2\\u0026ns=49.64.215.211\\u0026ni=__IESID__\\u0026v=__LOC__\\u0026xa=__ADPLATFORM__\\u0026tr=__REQUESTID__\\u0026mo=0\\u0026m0=9b35a4035eecee2c\\u0026m0a=__DUID__\\u0026m1=9b35a4035eecee2c\\u0026m1a=798ea282a3400750b394738cba571cc1\\u0026m2=7256d2fce7032bc62f61ed308e277d60\\u0026m4=__AAID__\\u0026m5=__IDFA__\\u0026m6=__MAC1__\\u0026m6a=__MAC__\\u0026ls=22.831367x-113.511515x100.0\\u0026vv=1\\u0026o=\"],\"type\":\"web\",\"web_title\":\"\",\"web_url\":\"http://e.cn.miaozhen.com/r/k=2106427\\u0026p=7K7y0\\u0026dx=__IPDX__\\u0026rt=2\\u0026ns=49.64.215.211\\u0026ni=__IESID__\\u0026v=__LOC__\\u0026xa=__ADPLATFORM__\\u0026tr=__REQUESTID__\\u0026ro=sm\\u0026mo=0\\u0026m0=9b35a4035eecee2c\\u0026m0a=__DUID__\\u0026m1=9b35a4035eecee2c\\u0026m1a=798ea282a3400750b394738cba571cc1\\u0026m2=7256d2fce7032bc62f61ed308e277d60\\u0026m4=__AAID__\\u0026m5=__IDFA__\\u0026m6=__MAC1__\\u0026m6a=__MAC__\\u0026ls=22.831367x-113.511515x100.0\\u0026vv=1\\u0026vo=3db0320f2\\u0026vr=2\\u0026o=http%3A%2F%2Fevent.toutiaocloud.com%2Fford%2F20181210_2\"}}",
|
||||||
|
"name": "ad"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"aggr_type": 1,
|
||||||
|
"article_type": 0,
|
||||||
|
"behot_time": 1544666422,
|
||||||
|
"bury_count": 26,
|
||||||
|
"comment_count": 8,
|
||||||
|
"digg_count": 371,
|
||||||
|
"group_flags": 32865,
|
||||||
|
"group_id": 6634291766889546253,
|
||||||
|
"has_video": true,
|
||||||
|
"impr_id": "6634291766889546253_6634291766889546253",
|
||||||
|
"item_id": 6634291766889546253,
|
||||||
|
"log_pb": {
|
||||||
|
"impr_id": "20181217142841010023072098899C7E3"
|
||||||
|
},
|
||||||
|
"middle_image": {
|
||||||
|
"height": 358,
|
||||||
|
"uri": "list/14304000dae9fe74c072e",
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/14304000dae9fe74c072e",
|
||||||
|
"url_list": [
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/14304000dae9fe74c072e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/14304000dae9fe74c072e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/14304000dae9fe74c072e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"width": 640
|
||||||
|
},
|
||||||
|
"open_page_url": "sslocal://detail?is_quick_exit=1\u0026groupid=6634291766889546253\u0026item_id=6634291766889546253\u0026gd_label=click_related\u0026gd_ext_json={\"enter_from\":\"click_related\"}\u0026log_pb={\"impr_id\":\"20181217142841010023072098899C7E3\"}\u0026from_gid=6565653745026204168",
|
||||||
|
"publish_time": 1544666422,
|
||||||
|
"reason": "relative",
|
||||||
|
"source": "厉害了街访",
|
||||||
|
"title": "美女准备睡觉,刚躺下就感觉不对劲,结果把美女吓的不轻",
|
||||||
|
"type_name": "视频",
|
||||||
|
"video_duration": 102
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"aggr_type": 1,
|
||||||
|
"article_type": 0,
|
||||||
|
"behot_time": 1540302360,
|
||||||
|
"bury_count": 126,
|
||||||
|
"comment_count": 20,
|
||||||
|
"digg_count": 63,
|
||||||
|
"group_flags": 32865,
|
||||||
|
"group_id": 6615548264152302093,
|
||||||
|
"has_video": true,
|
||||||
|
"impr_id": "6615548264152302093_6615548264152302093",
|
||||||
|
"item_id": 6615548264152302093,
|
||||||
|
"log_pb": {
|
||||||
|
"impr_id": "20181217142841010023072098899C7E3"
|
||||||
|
},
|
||||||
|
"middle_image": {
|
||||||
|
"height": 360,
|
||||||
|
"uri": "list/pgc-image/154030204372081739e8b2e",
|
||||||
|
"url": "http://p9-tt.bytecdn.cn/list/pgc-image/154030204372081739e8b2e",
|
||||||
|
"url_list": [
|
||||||
|
{
|
||||||
|
"url": "http://p9-tt.bytecdn.cn/list/pgc-image/154030204372081739e8b2e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p6-tt.bytecdn.cn/list/pgc-image/154030204372081739e8b2e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/pgc-image/154030204372081739e8b2e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"width": 640
|
||||||
|
},
|
||||||
|
"open_page_url": "sslocal://detail?is_quick_exit=1\u0026groupid=6615548264152302093\u0026item_id=6615548264152302093\u0026gd_label=click_related\u0026gd_ext_json={\"enter_from\":\"click_related\"}\u0026log_pb={\"impr_id\":\"20181217142841010023072098899C7E3\"}\u0026from_gid=6565653745026204168",
|
||||||
|
"publish_time": 1540302360,
|
||||||
|
"reason": "relative",
|
||||||
|
"source": "小林剧场",
|
||||||
|
"title": "小伙因救了一位晕倒男子而耽误相亲,谁知救的是相亲美女的大哥",
|
||||||
|
"type_name": "视频",
|
||||||
|
"video_duration": 233
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"aggr_type": 1,
|
||||||
|
"article_type": 0,
|
||||||
|
"behot_time": 1544583324,
|
||||||
|
"bury_count": 1,
|
||||||
|
"comment_count": 1,
|
||||||
|
"digg_count": 71,
|
||||||
|
"group_flags": 32865,
|
||||||
|
"group_id": 6633934863030305293,
|
||||||
|
"has_video": true,
|
||||||
|
"impr_id": "6633934863030305293_6633934863030305293",
|
||||||
|
"item_id": 6633934863030305293,
|
||||||
|
"log_pb": {
|
||||||
|
"impr_id": "20181217142841010023072098899C7E3"
|
||||||
|
},
|
||||||
|
"middle_image": {
|
||||||
|
"height": 360,
|
||||||
|
"uri": "list/pgc-image/64fe56d102784076aa897a22c2a822fc",
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/pgc-image/64fe56d102784076aa897a22c2a822fc",
|
||||||
|
"url_list": [
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/pgc-image/64fe56d102784076aa897a22c2a822fc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/pgc-image/64fe56d102784076aa897a22c2a822fc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/pgc-image/64fe56d102784076aa897a22c2a822fc"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"width": 640
|
||||||
|
},
|
||||||
|
"open_page_url": "sslocal://detail?is_quick_exit=1\u0026groupid=6633934863030305293\u0026item_id=6633934863030305293\u0026gd_label=click_related\u0026gd_ext_json={\"enter_from\":\"click_related\"}\u0026log_pb={\"impr_id\":\"20181217142841010023072098899C7E3\"}\u0026from_gid=6565653745026204168",
|
||||||
|
"publish_time": 1544583324,
|
||||||
|
"reason": "relative",
|
||||||
|
"source": "流声剧院",
|
||||||
|
"title": "丈夫车坏了,让妻子先坐的士走,没想到妻子倒回头时却心碎了",
|
||||||
|
"type_name": "视频",
|
||||||
|
"video_duration": 219
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"aggr_type": 1,
|
||||||
|
"article_type": 0,
|
||||||
|
"behot_time": 1541304321,
|
||||||
|
"bury_count": 63,
|
||||||
|
"comment_count": 4,
|
||||||
|
"digg_count": 23,
|
||||||
|
"group_flags": 32865,
|
||||||
|
"group_id": 6619851653715591683,
|
||||||
|
"has_video": true,
|
||||||
|
"impr_id": "6619851653715591683_6619851653715591683",
|
||||||
|
"item_id": 6619851653715591683,
|
||||||
|
"log_pb": {
|
||||||
|
"impr_id": "20181217142841010023072098899C7E3"
|
||||||
|
},
|
||||||
|
"middle_image": {
|
||||||
|
"height": 360,
|
||||||
|
"uri": "list/10bd00002bad1424719e0",
|
||||||
|
"url": "http://p9-tt.bytecdn.cn/list/10bd00002bad1424719e0",
|
||||||
|
"url_list": [
|
||||||
|
{
|
||||||
|
"url": "http://p9-tt.bytecdn.cn/list/10bd00002bad1424719e0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p6-tt.bytecdn.cn/list/10bd00002bad1424719e0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/10bd00002bad1424719e0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"width": 640
|
||||||
|
},
|
||||||
|
"open_page_url": "sslocal://detail?is_quick_exit=1\u0026groupid=6619851653715591683\u0026item_id=6619851653715591683\u0026gd_label=click_related\u0026gd_ext_json={\"enter_from\":\"click_related\"}\u0026log_pb={\"impr_id\":\"20181217142841010023072098899C7E3\"}\u0026from_gid=6565653745026204168",
|
||||||
|
"publish_time": 1541304321,
|
||||||
|
"reason": "relative",
|
||||||
|
"source": "新神剧社区",
|
||||||
|
"title": "喜来乐给老婆情人带的一样的礼物,这下碰面好尴尬,怕是吵上了!",
|
||||||
|
"type_name": "视频",
|
||||||
|
"video_duration": 292
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"aggr_type": 1,
|
||||||
|
"article_type": 0,
|
||||||
|
"behot_time": 1542088328,
|
||||||
|
"bury_count": 1,
|
||||||
|
"comment_count": 0,
|
||||||
|
"digg_count": 3,
|
||||||
|
"group_flags": 32865,
|
||||||
|
"group_id": 6623218936387207683,
|
||||||
|
"has_video": true,
|
||||||
|
"impr_id": "6623218936387207683_6623218936387207683",
|
||||||
|
"item_id": 6623218936387207683,
|
||||||
|
"log_pb": {
|
||||||
|
"impr_id": "20181217142841010023072098899C7E3"
|
||||||
|
},
|
||||||
|
"middle_image": {
|
||||||
|
"height": 360,
|
||||||
|
"uri": "list/114350009de7288b70b66",
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/114350009de7288b70b66",
|
||||||
|
"url_list": [
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/114350009de7288b70b66"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/114350009de7288b70b66"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p3-tt.bytecdn.cn/list/114350009de7288b70b66"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"width": 640
|
||||||
|
},
|
||||||
|
"open_page_url": "sslocal://detail?is_quick_exit=1\u0026groupid=6623218936387207683\u0026item_id=6623218936387207683\u0026gd_label=click_related\u0026gd_ext_json={\"enter_from\":\"click_related\"}\u0026log_pb={\"impr_id\":\"20181217142841010023072098899C7E3\"}\u0026from_gid=6565653745026204168",
|
||||||
|
"publish_time": 1542088328,
|
||||||
|
"reason": "relative",
|
||||||
|
"source": "喵喵讲视1",
|
||||||
|
"title": "美女总裁的车抛锚,只能搭上穷小伙的电动车,小伙好运气来了",
|
||||||
|
"type_name": "视频",
|
||||||
|
"video_duration": 198
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "related_news"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"recommend_sponsor": {
|
||||||
|
"icon_url": "http://p3-tt.bytecdn.cn/origin/13ef000096960314fff4",
|
||||||
|
"label": "帮上头条",
|
||||||
|
"night_icon_url": "http://p3-tt.bytecdn.cn/origin/dc1d0001ad958473e24b",
|
||||||
|
"target_url": "https://i.snssdk.com/ad/pgc_promotion/mobile/create/?group_id=6565653745026204168\u0026item_id=6565653745026204168"
|
||||||
|
},
|
||||||
|
"related_gallery": [],
|
||||||
|
"related_video_section": 0,
|
||||||
|
"repin_count": 0,
|
||||||
|
"script": "",
|
||||||
|
"share_info": {
|
||||||
|
"share_type": {
|
||||||
|
"pyq": 0,
|
||||||
|
"qq": 0,
|
||||||
|
"qzone": 0,
|
||||||
|
"wx": 0
|
||||||
|
},
|
||||||
|
"share_url": "https://m.toutiaocdn.cn/group/6565653745026204168/?iid=34903754482\u0026app=news_article\u0026timestamp=1545028122\u0026group_id=6565653745026204168",
|
||||||
|
"title": "动作冒险游戏新作《只狼》发表,将登录各大平台 - 今日头条",
|
||||||
|
"token_type": 1,
|
||||||
|
"weixin_cover_image": {
|
||||||
|
"url": "http://p6-tt.bytecdn.cn/large/pgc-image/1528685392670ab389ba3d6",
|
||||||
|
"width": 903,
|
||||||
|
"url_list": [
|
||||||
|
{
|
||||||
|
"url": "http://p6-tt.bytecdn.cn/large/pgc-image/1528685392670ab389ba3d6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p6-tt.bytecdn.cn/large/pgc-image/1528685392670ab389ba3d6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://p6-tt.bytecdn.cn/large/pgc-image/1528685392670ab389ba3d6"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"uri": "large/pgc-image/1528685392670ab389ba3d6",
|
||||||
|
"height": 729
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"share_url": "https://m.toutiaocdn.cn/group/6565653745026204168/?iid=34903754482\u0026app=news_article\u0026timestamp=1545028122\u0026group_id=6565653745026204168",
|
||||||
|
"source": "幸好1917",
|
||||||
|
"ug_install_aid": 0,
|
||||||
|
"url": "http://toutiao.com/group/6565653745026204168/",
|
||||||
|
"user_bury": 0,
|
||||||
|
"user_digg": 0,
|
||||||
|
"user_info": {
|
||||||
|
"avatar_url": "http://p3.pstatp.com/thumb/6ee10005567a623bf5ed",
|
||||||
|
"description": "每天分享游戏视频,欢迎关注",
|
||||||
|
"fans_count": 235,
|
||||||
|
"follow": 0,
|
||||||
|
"media_id": 1598790750331917,
|
||||||
|
"name": "幸好1917",
|
||||||
|
"special_column": [],
|
||||||
|
"subcribed": 0,
|
||||||
|
"user_auth_info": "",
|
||||||
|
"user_decoration": "",
|
||||||
|
"user_id": 96277960261,
|
||||||
|
"user_verified": false
|
||||||
|
},
|
||||||
|
"user_repin": 0
|
||||||
|
},
|
||||||
|
"message": "success"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user