|
@@ -509,7 +509,7 @@ class Follow:
|
|
|
return
|
|
|
|
|
|
except Exception as e:
|
|
|
- Feishu.bot(log_type, "follow:get_videos_from_person异常" + format(e))
|
|
|
+ # Feishu.bot(log_type, "follow:get_videos_from_person异常" + format(e))
|
|
|
Common.logger(log_type).error("get_videos_from_person异常:{}\n", e)
|
|
|
|
|
|
# 获取所有关注列表的用户视频
|
|
@@ -657,7 +657,7 @@ class Follow:
|
|
|
Common.logger(log_type).info("视频:{},下载/上传成功\n", download_video_title)
|
|
|
return
|
|
|
except Exception as e:
|
|
|
- Feishu.bot(log_type, "follow:download_publish异常" + format(e))
|
|
|
+ # Feishu.bot(log_type, "follow:download_publish异常" + format(e))
|
|
|
Common.logger(log_type).error("download_publish异常:{}", e)
|
|
|
|
|
|
# 执行下载/上传
|
|
@@ -676,9 +676,6 @@ class Follow:
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
- follow = Follow()
|
|
|
- # follow.get_videos_from_follow("follow")
|
|
|
- # follow.follow_unfollow("follow", "follow", "687090964")
|
|
|
- follow.get_videos_from_person("follow", "1501445724")
|
|
|
- # print(follow.Referer)
|
|
|
- # print(follow.NS_sig3)
|
|
|
+ Follow.get_videos_from_follow("follow")
|
|
|
+ # Follow.follow_unfollow("follow", "follow", "687090964")
|
|
|
+ # Follow.get_videos_from_person("follow", "1501445724")
|