-from __future__ import unicode_literals
-
-import re
-
from .common import InfoExtractor
'timestamp': 1458140101,
'uploader_id': '12639966',
'uploader': 'Live Roaldset',
- }
+ },
}
def _real_extract(self, url):
- article_type, article_id = re.match(self._VALID_URL, url).groups()
+ article_type, article_id = self._match_valid_url(url).groups()
if article_type == 'filmnytt':
webpage = self._download_webpage(url, article_id)
article_id = self._search_regex(r'data-videoid="(\d+)"', webpage, 'article id')