jiayaoO3O/18-comic-finder

反爬蟲問題,使用本日的版本,在local端與Github Action也一樣

Closed this issue · 1 comments

如題,下載你已經Build好,放在Release的finder-5.1.0-runner.jar使用時遇到反爬蟲錯誤。
看到近期你有對反爬蟲做處理,所以我有把今天20230214的原始碼版本clone下來,並做 mvn clean package 拿到.jar檔之後再用來執行,剛開始有看到切換網址,後來還是遇到反爬蟲,執行到最後沒下載完就結束執行了。
截圖 2023-02-14 下午6 45 31

也嘗試使用Github Action執行腳本,結果執行時間過短,把執行完生出來的finder-result.zip載下來解壓縮後,發現內容是不完整的,估計也是和local端一樣的狀況。
此外Githug Action有跳警告,警告如下:

build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

畫面擷取於 2023-02-14 18 49 53

最新的反爬虫功能是自动切换域名, 如果所有域名都被反扒了, 就没办法继续下载, 只能自己添加cookies去本地使用