Ver código fonte

update get video feeds

wangkun 3 anos atrás
pai
commit
1abd05df93
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      main/download.py

+ 1 - 1
main/download.py

@@ -174,7 +174,7 @@ class BSZF:
                         else:
                             if video_id in [content.split(" + ")[1] for content in contents]:
                                 Common.crawler_log().info("该视频已在 benshanzhufu_feeds.txt 中:{}".format(video_title))
-                            elif video_id == "0" or video_url == "0" or video_title != "0":
+                            elif video_id == "0" or video_url == "0" or video_title == "0":
                                 Common.crawler_log().info("视频不存在")
                             else:
                                 basic_time = int(time.time())