Skip to content

A feature-rich command-line audio/video downloader

[ign] update 1up extractor to work with the updated IGNIE

Jaime Marquínez Ferrándizee80d66727d7
diff --git a/youtube_dl/extractor/ign.py b/youtube_dl/extractor/ign.py
index 2639597160..b1c84278a5 100644
--- a/youtube_dl/extractor/ign.py
+++ b/youtube_dl/extractor/ign.py
@@ -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>'