]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[1up.com] Urls end now with '.html'
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 18 Sep 2014 15:02:53 +0000 (17:02 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 18 Sep 2014 15:02:53 +0000 (17:02 +0200)
youtube_dl/extractor/ign.py

index ac7804ad975da07ff5352c70b14cc2d1d735c9b7..12e9e61c465cce7f30ed93d293d946ea05f4de74 100644 (file)
@@ -112,13 +112,13 @@ class IGNIE(InfoExtractor):
 
 
 class OneUPIE(IGNIE):
-    _VALID_URL = r'https?://gamevideos\.1up\.com/(?P<type>video)/id/(?P<name_or_id>.+)'
+    _VALID_URL = r'https?://gamevideos\.1up\.com/(?P<type>video)/id/(?P<name_or_id>.+)\.html'
     IE_NAME = '1up.com'
 
     _DESCRIPTION_RE = r'<div id="vid_summary">(.+?)</div>'
 
     _TESTS = [{
-        'url': 'http://gamevideos.1up.com/video/id/34976',
+        'url': 'http://gamevideos.1up.com/video/id/34976.html',
         'md5': '68a54ce4ebc772e4b71e3123d413163d',
         'info_dict': {
             'id': '34976',