测试入库
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user