default to videos vid_type in get_youtube_details

This commit is contained in:
simon 2023-01-12 16:49:45 +07:00
parent 1471fce2c3
commit 092c467a2e
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -271,6 +271,8 @@ class PendingList(PendingIndex):
else:
if self._check_shorts(vid):
vid_type = VideoTypeEnum.SHORTS
else:
vid_type = VideoTypeEnum.VIDEOS
return self._parse_youtube_details(vid, vid_type)