|
@@ -512,7 +512,7 @@ class Follow:
|
|
|
user_name = ''
|
|
|
avatar_url = ''
|
|
|
|
|
|
- video_url = feeds[i]['photoUrl']
|
|
|
+ video_url = feeds[i]['photo']['photoUrl']
|
|
|
video_dict = {'video_title': video_title,
|
|
|
'video_id': video_id,
|
|
|
'play_cnt': play_cnt,
|
|
@@ -762,14 +762,15 @@ class Follow:
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
- Follow.get_videoList(log_type="follow",
|
|
|
- crawler="kuaishou",
|
|
|
- strategy="定向爬虫策略",
|
|
|
- our_uid="6282431",
|
|
|
- out_uid="3x3wsqjsxu5j6de",
|
|
|
- oss_endpoint="out",
|
|
|
- env="dev",
|
|
|
- machine="local")
|
|
|
+ pass
|
|
|
+ # Follow.get_videoList(log_type="follow",
|
|
|
+ # crawler="kuaishou",
|
|
|
+ # strategy="定向爬虫策略",
|
|
|
+ # our_uid="6282431",
|
|
|
+ # out_uid="3x3wsqjsxu5j6de",
|
|
|
+ # oss_endpoint="out",
|
|
|
+ # env="dev",
|
|
|
+ # machine="local")
|
|
|
|
|
|
# print(Follow.get_out_user_info("follow", "kuaishou", "3xgh4ja9be3wcaw"))
|
|
|
# print(Follow.get_out_user_info("follow", "kuaishou", "3x5wgjhfc7tx8ue"))
|