aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-10-17 17:34:03 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-10-17 17:39:23 +0530
commitec3f6640c1a5391380ff7d47769fb710cf817638 (patch)
treeb41fb7a9dd03daa0422d875600e6efffe7585efd /yt_dlp/extractor/common.py
parentdd078970ba1739cfd4fcc798a4b5026cb11c427a (diff)
downloadhypervideo-pre-ec3f6640c1a5391380ff7d47769fb710cf817638.tar.lz
hypervideo-pre-ec3f6640c1a5391380ff7d47769fb710cf817638.tar.xz
hypervideo-pre-ec3f6640c1a5391380ff7d47769fb710cf817638.zip
[crunchyroll] Add season to flat-playlist
Closes #1319
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 4f358c53b..dbe7dfcbf 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -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: