mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-09 12:59:33 +00:00
default to videos vid_type in get_youtube_details
This commit is contained in:
@@ -271,6 +271,8 @@ class PendingList(PendingIndex):
|
|||||||
else:
|
else:
|
||||||
if self._check_shorts(vid):
|
if self._check_shorts(vid):
|
||||||
vid_type = VideoTypeEnum.SHORTS
|
vid_type = VideoTypeEnum.SHORTS
|
||||||
|
else:
|
||||||
|
vid_type = VideoTypeEnum.VIDEOS
|
||||||
|
|
||||||
return self._parse_youtube_details(vid, vid_type)
|
return self._parse_youtube_details(vid, vid_type)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user