罗俊辉 8 months ago
parent
commit
7aad825bba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      applications/functions/pqFunctions.py

+ 2 - 0
applications/functions/pqFunctions.py

@@ -15,6 +15,8 @@ async def publishToPQ(video_obj):
     uid = video_obj['uid']
     title = video_obj['title']
     cover = video_obj['coverPath']
+    # if cover == "None":
+    cover = None
     url = "https://vlogapi.piaoquantv.com/longvideoapi/crawler/video/send"
     headers = {
         "User-Agent": "PQSpeed/486 CFNetwork/1410.1 Darwin/22.6.0",