1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-28 02:06:51 +01:00

Fix MTV/GameTrailers "Bad Request" error

Bugfix for bug #4123 & #4153
This commit is contained in:
Pascal Brax 2014-11-12 01:10:08 +01:00
parent bbcc21efd1
commit 2774852c2f

View File

@ -33,7 +33,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
m = re.match(r'^rtmpe?://.*?/(?P<finalid>gsp\..+?/.*)$', rtmp_video_url)
if not m:
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')
def _get_feed_url(self, uri):