抖音调整接口配置
This commit is contained in:
@@ -123,9 +123,9 @@ class DouyinParser:
|
|||||||
|
|
||||||
def _parse_douyin(self, url: str) -> Dict[str, Any]:
|
def _parse_douyin(self, url: str) -> Dict[str, Any]:
|
||||||
try:
|
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)
|
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))
|
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
|
proxy = {"http": self.http_proxy, "https": self.http_proxy} if self.http_proxy else None
|
||||||
|
|||||||
Reference in New Issue
Block a user