X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=youtube_dl%2Fextractor%2Fruhd.py;h=0e470e73f538fd60d7ed34cbe515042f6abc078b;hb=a80c96eab0b7c47ddae331ece37faa458be7bb2e;hp=55b58e5e6c09af2d211edaba256ad2ebce2a958d;hpb=81650f95e2d28f4acc8a864c5221f1e95f75adda;p=youtube-dl diff --git a/youtube_dl/extractor/ruhd.py b/youtube_dl/extractor/ruhd.py index 55b58e5e6..0e470e73f 100644 --- a/youtube_dl/extractor/ruhd.py +++ b/youtube_dl/extractor/ruhd.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -import re - from .common import InfoExtractor @@ -21,19 +19,20 @@ class RUHDIE(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) video_url = self._html_search_regex( r'([^<]+) RUHD.ru - Ðидео ÐÑÑокого каÑеÑÑва â1 в РоÑÑии!', webpage, 'title') + r'