Browse Source

Fix MTV/GameTrailers "Bad Request" error

Bugfix for bug #4123 & #4153
totalwebcasting
Pascal Brax 10 years ago
parent
commit
2774852c2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/mtv.py

+ 1
- 1
youtube_dl/extractor/mtv.py View File

@ -33,7 +33,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
m = re.match(r'^rtmpe?://.*?/(?P<finalid>gsp\..+?/.*)$', rtmp_video_url) m = re.match(r'^rtmpe?://.*?/(?P<finalid>gsp\..+?/.*)$', rtmp_video_url)
if not m: if not m:
return rtmp_video_url return rtmp_video_url
base = 'http://mtvnmobile.vo.llnwd.net/kip0/_pxn=1+_pxI0=Ripod-h264+_pxL0=undefined+_pxM0=+_pxK=18639+_pxE=mp4/44620/mtvnorigin/'
base = 'http://viacommtvstrmfs.fplive.net/'
return base + m.group('finalid') return base + m.group('finalid')
def _get_feed_url(self, uri): def _get_feed_url(self, uri):


Loading…
Cancel
Save