youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit b8da6b9fc6b05dff5dfbe98e20546b7e5e0ab170
parent 4baea47c42c291564dcbbbfc93955afbd4a80460
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Fri,  9 Jan 2015 22:43:49 +0100

[elpais] Modernize

Diffstat:
Myoutube_dl/extractor/elpais.py | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/youtube_dl/extractor/elpais.py b/youtube_dl/extractor/elpais.py @@ -1,8 +1,6 @@ # coding: utf-8 from __future__ import unicode_literals -import re - from .common import InfoExtractor from ..utils import unified_strdate @@ -24,9 +22,7 @@ class ElPaisIE(InfoExtractor): } def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - video_id = mobj.group('id') - + video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) prefix = self._html_search_regex(