Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 使用 warp 作为代理服务来请求 #41

Merged
merged 19 commits into from
Aug 12, 2024
Merged

Conversation

enpitsuLin
Copy link
Owner

@enpitsuLin enpitsuLin commented Aug 9, 2024

Close #40

如果要纯 js 实现可能会有点麻烦,还要 js 启一个服务

加个代理去请求就不会触发风控了,不知道要不要搞一个 worker 做代理,然后再 CI 跑 cron 但这样感觉好傻逼🤡

@enpitsuLin
Copy link
Owner Author

enpitsuLin commented Aug 9, 2024

image
image
暂时用 127.0.0.1:7890 试了下
有无代理的效果很明显,如果用 cf warp 做代理应该就不会触发风控了

@enpitsuLin
Copy link
Owner Author

狗日的鹰角,害得我的浏览器扩展也没用了,我都还没把鸽了好久的基建功能弄好🤡我就说我本地怎么也被 405 了

@enpitsuLin
Copy link
Owner Author

但是同 ip 直接开鹰游社好像又是正常的 应该有参数可以防风控
image

@enpitsuLin enpitsuLin force-pushed the feat/wrap-as-proxy branch 2 times, most recently from 3746717 to ad71ded Compare August 10, 2024 14:04
@enpitsuLin
Copy link
Owner Author

逻辑上应该是没问题了,添加的代理功能应该也是没啥必要的,现在是在 action 上设置了 warp 然后应该所有请求都会通过 cf warp 代理发送了,这几天先停一下定时任务手动操作一下看看会不会触发风控

@enpitsuLin enpitsuLin marked this pull request as ready for review August 10, 2024 16:24
@enpitsuLin
Copy link
Owner Author

enpitsuLin commented Aug 12, 2024

@enpitsuLin
Copy link
Owner Author

先合并了

@enpitsuLin enpitsuLin merged commit 6eba4cd into main Aug 12, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

增加 Cloudflare Warp+ 代理防止 IP 被风控
1 participant