DEV Community

邱敬幃 Pardn Chiu
邱敬幃 Pardn Chiu

Posted on Edited on

go-browser@v0.3.6

go-browser

v0.3.5 -> v0.3.6

Summary

Makes page fetching aware of human-verification challenges so users can complete them before extraction resumes.

翻譯

頁面擷取現在能辨識真人驗證,讓使用者完成驗證後再繼續擷取。

Changes

FEAT

  • Detect human-verification challenges before extracting content in any output format. The default headless route retries once in a headed browser when a display is available. In headed mode, set Option.ChallengeWait to allow manual verification in the same tab; ErrChallengeRequired indicates that waiting is disabled, and ErrChallenge indicates that the wait expired

翻譯

  • 所有輸出格式都會在擷取前偵測真人驗證。預設以無頭模式啟動時,若有可用的顯示環境,會改用有頭瀏覽器重試一次。在有頭模式下,可設定 Option.ChallengeWait,讓使用者在同一個分頁手動完成驗證;ErrChallengeRequired 表示未啟用等待,ErrChallenge 表示等待逾時。

Scope

  • core/ — FEAT (challenge.go, fetch.go)
  • core/embed/ — FEAT (challenge.js, challenge.json)
  • README.md — DOC
  • doc/ — DOC (README.zh.md, architecture.zh.md)

Generated by SKILL

Top comments (0)