Browse Source

修改快手内容类型如果是note返回三个参数

zhangliang 1 week ago
parent
commit
ddddded8b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/dy_ks_get_url.py

+ 1 - 1
utils/dy_ks_get_url.py

@@ -119,7 +119,7 @@ class Dy_KS:
                 data = response["data"]["data"]
                 content_type = data['content_type']
                 if content_type == 'note':
-                    return "note","note"
+                    return "note","note",None
                 video_url = data["video_url_list"][0]["video_url"]
                 original_title = data["title"]
                 return video_url, original_title, video_id