]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ign] update 1up extractor to work with the updated IGNIE
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 29 Aug 2013 19:51:09 +0000 (21:51 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 29 Aug 2013 19:51:09 +0000 (21:51 +0200)
youtube_dl/extractor/ign.py

index 263959716077f815141cbaa53d019f60b2ea2515..b1c84278a5784ed2028a986f15be49dd99b1ef9d 100644 (file)
@@ -72,7 +72,7 @@ class IGNIE(InfoExtractor):
 class OneUPIE(IGNIE):
     """Extractor for 1up.com, it uses the ign videos system."""
 
-    _VALID_URL = r'https?://gamevideos.1up.com/video/id/(?P<name_or_id>.+)'
+    _VALID_URL = r'https?://gamevideos.1up.com/(?P<type>video)/id/(?P<name_or_id>.+)'
     IE_NAME = '1up.com'
 
     _DESCRIPTION_RE = r'<div id="vid_summary">(.+?)</div>'