aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/spike.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-01-14 06:17:03 +0700
committerSergey M․ <dstftw@gmail.com>2017-01-14 06:18:38 +0700
commitadf063dad1792f0c9c680d13ccd984b4ad60ac29 (patch)
treebfdc54dab38fb3a68dccc31feae966a8b25835f0 /youtube_dl/extractor/spike.py
parent5e8eebb6009ac3e9f7dfc803d8561174d207c1a2 (diff)
[mtv,cc,cmt,spike] Improve and refactor
- Eliminate _transform_rtmp_url * Generalize triforce mgid extraction + [cmt] Add support for full-episodes (closes #11623)
Diffstat (limited to 'youtube_dl/extractor/spike.py')
-rw-r--r--youtube_dl/extractor/spike.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/spike.py
index abfee3ece..c59896a17 100644
--- a/youtube_dl/extractor/spike.py
+++ b/youtube_dl/extractor/spike.py
@@ -46,7 +46,7 @@ class SpikeIE(MTVServicesInfoExtractor):
_CUSTOM_URL_REGEX = re.compile(r'spikenetworkapp://([^/]+/[-a-fA-F0-9]+)')
def _extract_mgid(self, webpage):
- mgid = super(SpikeIE, self)._extract_mgid(webpage, default=None)
+ mgid = super(SpikeIE, self)._extract_mgid(webpage)
if mgid is None:
url_parts = self._search_regex(self._CUSTOM_URL_REGEX, webpage, 'episode_id')
video_type, episode_id = url_parts.split('/', 1)