mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
Merge remote-tracking branch 'chrisjrn/master'
This commit is contained in:
commit
ed7516c69d
1 changed files with 12 additions and 1 deletions
|
@ -2361,6 +2361,17 @@ def _real_extract(self, url):
|
|||
# For now, just pick the highest bitrate
|
||||
format,video_url = turls[-1]
|
||||
|
||||
# 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,
|
||||
|
@ -2372,7 +2383,7 @@ def _real_extract(self, url):
|
|||
'format': format,
|
||||
'thumbnail': None,
|
||||
'description': officialTitle,
|
||||
'player_url': playerUrl
|
||||
'player_url': None #playerUrl
|
||||
}
|
||||
|
||||
results.append(info)
|
||||
|
|
Loading…
Reference in a new issue