测试入库

This commit is contained in:
liuwei
2025-03-21 09:41:03 +08:00
parent d6faa6551e
commit 5c0a67981b
3 changed files with 10 additions and 6 deletions

View File

@@ -258,9 +258,9 @@ class DouyinParserPlugin(MessagePluginInterface):
def _parse_douyin(self, url: str) -> Dict[str, Any]:
"""解析抖音链接"""
try:
api_url = "http://zj.v.api.aa1.cn/api/douyinjx/"
api_url = "http://192.168.2.240:9081/api/hybrid/video_data"
clean_url = self._clean_url(url)
params = {'text': clean_url, 'type': 'json'}
params = {'url': clean_url, 'type': 'json'}
self.LOG.info(f"[抖音] 请求API: {api_url}, 参数: {repr(params)}")
proxy = {"http": self.http_proxy, "https": self.http_proxy} if self.http_proxy else None