抖音调整接口配置

This commit is contained in:
liuwei
2025-03-17 09:25:25 +08:00
parent 8db22b6ab5
commit 32728c2a9c

View File

@@ -123,9 +123,9 @@ class DouyinParser:
def _parse_douyin(self, url: str) -> Dict[str, Any]:
try:
api_url = "https://apih.kfcgw50.me/api/douyin"
api_url = "https://zj.v.api.aa1.cn/api/douyinjx/"
clean_url = self._clean_url(url)
params = {'url': clean_url, 'type': 'json'}
params = {'text': clean_url, 'type': 'json'}
self.LOG.info("[抖音] 请求API: %s, 参数: %s", api_url, repr(params))
proxy = {"http": self.http_proxy, "https": self.http_proxy} if self.http_proxy else None