|
@@ -398,13 +398,17 @@ class PoolRecall(object):
|
|
|
if self.client_info.get('cityCode') in city_code_list or config_.ALL_AREA_CODE in city_code_list:
|
|
|
|
|
|
|
|
|
- if video_id in video_ids and item['score'] > video_info[video_id].get('score'):
|
|
|
+ if video_id in video_ids:
|
|
|
|
|
|
- video_info[video_id] = {'score': item['score'], 'cityCode': city_code_list}
|
|
|
+ if item['score'] > video_info[video_id].get('score'):
|
|
|
+ video_info[video_id] = {'score': item['score'], 'cityCode': city_code_list}
|
|
|
+ else:
|
|
|
+ continue
|
|
|
else:
|
|
|
- continue
|
|
|
- video_ids.append(video_id)
|
|
|
- video_info[video_id] = {'score': item['score'], 'cityCode': city_code_list}
|
|
|
+ video_ids.append(video_id)
|
|
|
+ video_info[video_id] = {'score': item['score'], 'cityCode': city_code_list}
|
|
|
+ else:
|
|
|
+ continue
|
|
|
|
|
|
|
|
|
filter_ = FilterVideos(app_type=self.app_type, video_ids=video_ids, mid=self.mid, uid=self.uid)
|