|
@@ -135,7 +135,7 @@ def bottom_strategy_last(size, app_type, ab_code):
|
|
|
random_data = numpy.random.choice(bottom_data, size * 30, False)
|
|
|
# 状态过滤
|
|
|
filter_videos = FilterVideos(app_type=app_type, video_ids=random_data)
|
|
|
- filtered_data = filter_videos.filter_video_status(video_ids=data)
|
|
|
+ filtered_data = filter_videos.filter_video_status(video_ids=random_data)
|
|
|
bottom_data = [{'videoId': video_id, 'pushFrom': 'bottom_strategy_last', 'abCode': ab_code}
|
|
|
for video_id in filtered_data[:size]]
|
|
|
return bottom_data
|