MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / extract_tdc_path

Method extract_tdc_path

app/services/tdc_service.py:141–144  ·  view source on GitHub ↗
(self, raw_challenge: dict[str, Any])

Source from the content-addressed store, hash-verified

139 url = f"{self.settings.tencent_captcha_domain}/ft.js"
140 cache_path = self._cache_path(url)
141 if cache_path.exists():
142 return cache_path.read_text(encoding="utf-8")
143 code = self.http_client.request_text(
144 "GET",
145 url,
146 headers={
147 "Accept": "application/javascript, text/javascript, */*; q=0.01",

Callers 1

collect_for_challengeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected