mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 08:26:50 +00:00
Fix spacing in comedycentral IE
This commit is contained in:
parent
958a22b7cf
commit
6bac102a4d
@ -2291,7 +2291,6 @@ class ComedyCentralIE(InfoExtractor):
|
||||
print('%s\t:\t%s\t[%s]' %(x, self._video_extensions.get(x, 'mp4'), self._video_dimensions.get(x, '???')))
|
||||
|
||||
|
||||
|
||||
def _real_extract(self, url):
|
||||
mobj = re.match(self._VALID_URL, url)
|
||||
if mobj is None:
|
||||
@ -2403,15 +2402,12 @@ class ComedyCentralIE(InfoExtractor):
|
||||
|
||||
# Patch to download from alternative CDN, which does not
|
||||
# break on current RTMPDump builds
|
||||
|
||||
|
||||
broken_cdn = "rtmpe://viacomccstrmfs.fplive.net/viacomccstrm/gsp.comedystor/"
|
||||
better_cdn = "rtmpe://cp10740.edgefcs.net/ondemand/mtvnorigin/gsp.comedystor/"
|
||||
|
||||
if video_url.startswith(broken_cdn):
|
||||
video_url = video_url.replace(broken_cdn, better_cdn)
|
||||
|
||||
|
||||
effTitle = showId + u'-' + epTitle
|
||||
info = {
|
||||
'id': shortMediaId,
|
||||
|
Loading…
Reference in New Issue
Block a user