Add method get_videos_by_id.
This commit is contained in:
parent
1b422544d9
commit
63c332ea52
1 changed files with 3 additions and 0 deletions
|
@ -213,6 +213,9 @@ class YCDLDBVideoMixin:
|
|||
def get_video(self, video_id):
|
||||
return self.get_object_by_id(objects.Video, video_id)
|
||||
|
||||
def get_videos_by_id(self, video_ids):
|
||||
return self.get_objects_by_id(objects.Video, video_ids)
|
||||
|
||||
def get_videos(self, channel_id=None, *, state=None, orderby=None):
|
||||
wheres = []
|
||||
orderbys = []
|
||||
|
|
Loading…
Reference in a new issue