zhangyong 9 months ago
parent
commit
c1758a6e66
2 changed files with 4 additions and 1 deletions
  1. 1 1
      channel_ks/ks_feed_list.py
  2. 3 0
      main.py

+ 1 - 1
channel_ks/ks_feed_list.py

@@ -318,7 +318,7 @@ class KsFeedVideo:
                         video_uid = cls.insert_piaoquantv(oss_object_key, caption, pq_id)
                         if video_uid:
                             print(video_uid)
-                            return 
+                            return video_uid
                     if oss_object:
                         pass
                     if value:

+ 3 - 0
main.py

@@ -0,0 +1,3 @@
+from channel_ks.ks_feed_list import KsFeedVideo
+
+KsFeedVideo.get_data()