mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-17 21:25:49 +00:00
default to videos vid_type in get_youtube_details
This commit is contained in:
parent
1471fce2c3
commit
092c467a2e
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user