1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-04 00:55:15 +00:00

[crunchyroll] Add season to flat-playlist

Closes #1319
This commit is contained in:
pukkandan
2021-10-17 17:34:03 +05:30
parent dd078970ba
commit ec3f6640c1
2 changed files with 14 additions and 10 deletions

View File

@ -1087,12 +1087,13 @@ class InfoExtractor(object):
# Methods for following #608
@staticmethod
def url_result(url, ie=None, video_id=None, video_title=None):
def url_result(url, ie=None, video_id=None, video_title=None, **kwargs):
"""Returns a URL that points to a page that should be processed"""
# TODO: ie should be the class used for getting the info
video_info = {'_type': 'url',
'url': url,
'ie_key': ie}
video_info.update(kwargs)
if video_id is not None:
video_info['id'] = video_id
if video_title is not None: