diff options
author | Remita Amine <[email protected]> | 2017-10-11 15:48:32 +0000 |
---|---|---|
committer | Remita Amine <[email protected]> | 2017-10-11 15:50:20 +0000 |
commit | 782195a9d417aab21cff4abe35ad9d705f4d8d83 (patch) | |
tree | a9c7a9b7e5613a56b01d574071087f3c9a4c3656 /youtube_dl/extractor/gamespot.py | |
parent | 26bae2d96509b5c5ec80c27c1ea754b53c53818c (diff) | |
download | youtube-dl-782195a9d417aab21cff4abe35ad9d705f4d8d83.tar.gz youtube-dl-782195a9d417aab21cff4abe35ad9d705f4d8d83.zip |
[once] add support for vmap urls
Diffstat (limited to 'youtube_dl/extractor/gamespot.py')
-rw-r--r-- | youtube_dl/extractor/gamespot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gamespot.py b/youtube_dl/extractor/gamespot.py index 00d311158..02804d297 100644 --- a/youtube_dl/extractor/gamespot.py +++ b/youtube_dl/extractor/gamespot.py @@ -105,7 +105,7 @@ class GameSpotIE(OnceIE): onceux_url = self._parse_json(unescapeHTML(onceux_json), page_id).get('metadataUri') if onceux_url: formats.extend(self._extract_once_formats(re.sub( - r'https?://[^/]+', 'http://once.unicornmedia.com', onceux_url).replace('ads/vmap/', ''))) + r'https?://[^/]+', 'http://once.unicornmedia.com', onceux_url))) if not formats: for quality in ['sd', 'hd']: |