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

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-08-29 21:51:09 +02:00
parent f1fb2d12b3
commit ee80d66727

View file

@ -72,7 +72,7 @@ def _get_video_info(self, video_id):
class OneUPIE(IGNIE): class OneUPIE(IGNIE):
"""Extractor for 1up.com, it uses the ign videos system.""" """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' IE_NAME = '1up.com'
_DESCRIPTION_RE = r'<div id="vid_summary">(.+?)</div>' _DESCRIPTION_RE = r'<div id="vid_summary">(.+?)</div>'