From fcc3b98dd46974d837a7f6dfce0d42ee9ee99f6e Mon Sep 17 00:00:00 2001 From: sh!zeeg Date: Mon, 2 Jan 2017 21:05:33 +0300 Subject: [PATCH] [StreamMe] Fix "invalid escape sequences" error on Python 3.6 as in #11581 --- youtube_dl/extractor/streamme.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/streamme.py b/youtube_dl/extractor/streamme.py index 2506159a4..72acb690a 100644 --- a/youtube_dl/extractor/streamme.py +++ b/youtube_dl/extractor/streamme.py @@ -25,7 +25,7 @@ class StreamMeIE(InfoExtractor): 'uploader': 'KombatCup', 'uploader_id': 'kombatcup', 'timestamp': 1481512102000, - 'thumbnail': 're:https?://.*.jpg$', + 'thumbnail': r're:https?://.*\.jpg$', 'age_limit': 13, } } @@ -115,13 +115,13 @@ class StreamMeLiveIE(StreamMeIE): 'info_dict': { 'id': '1246a915-eebe-4ffe-b12e-e4f5332abc4d', 'ext': 'mp4', - 'title': 'KombatCup\'s Live Stream', + 'title': "KombatCup's Live Stream", 'age_limit': 13, 'uploader_id': 'kombatcup', 'uploader': 'KombatCup', 'like_count': int, 'dislike_count': int, - 'thumbnail': 're:https?://.*.jpg$', + 'thumbnail': r're:https?://.*\.jpg$', 'is_live': True, }, 'skip': 'kombatcup is offline',