From 32728c2a9c61e329e48729badcf91414d2c21ac5 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 17 Mar 2025 09:25:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E8=B0=83=E6=95=B4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douyin_parser/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/douyin_parser/main.py b/douyin_parser/main.py index bbd73da..eb9359f 100644 --- a/douyin_parser/main.py +++ b/douyin_parser/main.py @@ -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