Skip to content

关于书源的人机校验和绕过 #3859

Closed Answered by Win-X
Win-X asked this question in Q&A
Discussion options

You must be logged in to vote

经过tg群组里大佬点播,已经找到方法了。按照文档里(2、Legado的特殊规则-->URL必知必会-->GET请求)的这个写法
https://www.baidu.com,{ "charset": "gbk", "headers": "{\"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36\"}", "webView": true }
我的正文部分改为了
id.challenge-error-text@text||tag.img@class.site-reader__image@data-page-image-url@js: list=result.split("\n"); tmp=',{ "headers": { "Referer": "https://xxx.com" }, "webView": true}' html=''; for(i in list){ html+='<img src="'+list[i]+tmp+'">\n' } html
为每个img标签的src网址出加上一个用来绕过cf人机校验的请求头,便可以正常获取了

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Win-X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant