fix reindex inconsitent video_type
This commit is contained in:
parent
b2337669ca
commit
3a2701f2fa
|
|
@ -333,6 +333,7 @@ class Reindex(ReindexBase):
|
|||
# add back
|
||||
video.json_data["player"] = es_meta.get("player")
|
||||
video.json_data["date_downloaded"] = es_meta.get("date_downloaded")
|
||||
video.json_data["video_type"] = es_meta.get("video_type")
|
||||
video.json_data["channel"] = es_meta.get("channel")
|
||||
if es_meta.get("playlist"):
|
||||
video.json_data["playlist"] = es_meta.get("playlist")
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@ class PendingList(PendingIndex):
|
|||
|
||||
duration = vid.get("duration")
|
||||
if duration and isinstance(duration, int):
|
||||
if duration > 60:
|
||||
if duration > 3 * 60:
|
||||
return False
|
||||
|
||||
return is_shorts(vid["id"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue