Fix bugs caused by typos

This commit is contained in:
Robin Neatherway 2017-07-14 17:08:32 +01:00 committed by Sergey M
parent 7d02dcfaa2
commit 2583c0b54e
4 changed files with 4 additions and 5 deletions

View file

@ -48,7 +48,7 @@ class KarriereVideosIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
title = (self._html_search_meta('title', webpage, default=None) or
self._search_regex(r'<h1 class="title">([^<]+)</h1>'))
self._search_regex(r'<h1 class="title">([^<]+)</h1>', webpage, 'video title'))
video_id = self._search_regex(
r'/config/video/(.+?)\.xml', webpage, 'video id')