Cao Lin - collect pictures

# coding:utf-8
import requests
import json

url = 'https://www.wgsnchina.cn/api/cherry/search/query'
payload = {"filters": {"categories": ["108651"]}, "q": [], "log": "false", "lang": "cs",
           "params": {"limit": 200, "offset": 200, "object_id": "null", "sort": [{"field": "add_date"}]}}
headers = {
    # 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:59.0) Gecko/20100101 Firefox/59.0',

    "accept": "application/json, text/plain, */*",
    "accept-encoding": "gzip, deflate, br",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-length": "151",
    "content-type": "application/json;charset=UTF-8",
    "referer": "https://www.wgsnchina.cn/library/results/ab745207e8ed3dcfa16b4814748beead",
    "user-agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
    "origin": "https://www.wgsnchina.cn",
    # cookie: ss_lang=cs; ss_token=5d5b5dbec4322f50c1cb5c198840c3d7; product=WGSN; ss_udid=d609dc6936f5834709aa48b78f2903c9; PHPSESSID=rfuu0fivbr46l3qcpf2hccggbf
}
r = requests.post(url, data=json.dumps(payload), headers=headers)

print(r)

  

 

1. Install vpn

https://vip.dhu.edu.cn/prx/000/http/localhost/login/index.html (don't care)

 

http://support.arraynetworks.com.cn/troubleshooting/index.html

 

http://106.15.64.216:8080/zh/troubleshooting (download address of vpn configuration software)

 

On win7, install the software

 

configuration software

config file, add

Site Name: Donghua University

Host: vip.dhu.edu.cn

Username: 2160771

Password: 1993talentZSzzl

 

connect vpn

2. Visit the target website (download pictures)

https://www.wgsnchina.cn/library/results/ab745207e8ed3dcfa16b4814748beead

 

Guess you like

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