|
@@ -118,4 +118,4 @@ class AutoGetOffVideos(object):
|
|
video_set = cls.getLongArticlesVideos(time_stamp=seven_days_before)
|
|
video_set = cls.getLongArticlesVideos(time_stamp=seven_days_before)
|
|
vid_list = [i[0] for i in video_set]
|
|
vid_list = [i[0] for i in video_set]
|
|
with ThreadPoolExecutor(max_workers=8) as Pool1:
|
|
with ThreadPoolExecutor(max_workers=8) as Pool1:
|
|
- Pool1.map(cls.change_status, vid_list)
|
|
|
|
|
|
+ Pool1.map(cls.changeStatus, vid_list)
|