X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fsmotri.py;h=0751efc6111c96ca1c089c66183429f9bde6147c;hb=0403b06985bcb004efb3683bca6a56a47e3227b1;hp=9d2f8d40beb0ce16705e138371401f3104493eb8;hpb=5f6a1245ffa9276c1af59b0835afeef67e2fb5b1;p=youtube-dl diff --git a/youtube_dl/extractor/smotri.py b/youtube_dl/extractor/smotri.py index 9d2f8d40b..0751efc61 100644 --- a/youtube_dl/extractor/smotri.py +++ b/youtube_dl/extractor/smotri.py @@ -184,7 +184,7 @@ class SmotriIE(InfoExtractor): view_count = self._html_search_regex( 'Общее количество просмотров.*?(\\d+)', - webpage, 'view count', fatal=False, flags=re.MULTILINE|re.DOTALL) + webpage, 'view count', fatal=False, flags=re.MULTILINE | re.DOTALL) return { 'id': video_id, @@ -282,7 +282,7 @@ class SmotriBroadcastIE(InfoExtractor): (username, password) = self._get_login_info() if username is None: raise ExtractorError('Erotic broadcasts allowed only for registered users, ' - 'use --username and --password options to provide account credentials.', expected=True) + 'use --username and --password options to provide account credentials.', expected=True) login_form = { 'login-hint53': '1',