Skip to content

Commit

Permalink
更新[趣头条],一些小错误修正
Browse files Browse the repository at this point in the history
  • Loading branch information
gideonsenku committed Apr 18, 2020
1 parent 5f7c3a1 commit f7b2bf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions QuantumultX_AppStore_Local_Cookie.conf
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,5 @@ https:\/\/www.maomicd.com\/plugin.php\?id=k_misign:sign&operation=qiandao url sc

# 趣头条
^https:\/\/api\.1sapp\.com\/sign\/info? url script-request-header chavyleung/qtt/qtt.cookie.js
^https:\/\/api\.1sapp\.com\/content\/readV2? url script-request-header chavyleung/qttqtt.cookie.js
^https:\/\/api\.1sapp\.com\/x\/feed\/getReward? url script-request-header chavyleung/qttqtt.cookie.js
^https:\/\/api\.1sapp\.com\/content\/readV2? url script-request-header chavyleung/qtt/qtt.cookie.js
^https:\/\/api\.1sapp\.com\/x\/feed\/getReward? url script-request-header chavyleung/qtt/qtt.cookie.js
2 changes: 1 addition & 1 deletion qtt/qtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function getinfo() {
// 视频广告部分
function playone() {
return new Promise((resolve, reject) => {
const urlParameter = 'https://api.1sapp.com/sign/adDone?version=30967000&xhi=200&pos=two' + signVal
const urlParameter = 'https://api.1sapp.com/sign/adDone?version=30967000&xhi=200&pos=one' + signVal
const url = { url: urlParameter, headers: { 'Host': 'api.1sapp.com', 'X-Tk': signXTKKey } }
url.headers['User-Agent'] = 'Mozilla / 5.0(iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit / 605.1.15(KHTML, like Gecko) Mobile / 15E148'
senku.get(url, (error, response, data) => {
Expand Down

0 comments on commit f7b2bf0

Please sign in to comment.