about summary refs log tree commit diff
path: root/youtube_dl/extractor/playtvak.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-01-02 20:08:07 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-01-06 00:58:56 +0800
commitec85ded83cbfa652ba94cb080aab52d8b270212a (patch)
treef46944af16cdb9c0785f0d8fccc4721a6f31b485 /youtube_dl/extractor/playtvak.py
parent24d8a75982de3fd2fefd2c0d4a1248d03997d843 (diff)
downloadyoutube-dl-ec85ded83cbfa652ba94cb080aab52d8b270212a.tar.gz
youtube-dl-ec85ded83cbfa652ba94cb080aab52d8b270212a.tar.xz
youtube-dl-ec85ded83cbfa652ba94cb080aab52d8b270212a.zip
Fix "invalid escape sequences" error on Python 3.6
Diffstat (limited to 'youtube_dl/extractor/playtvak.py')
-rw-r--r--youtube_dl/extractor/playtvak.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/youtube_dl/extractor/playtvak.py b/youtube_dl/extractor/playtvak.py
index 1e8096a25..391e1bd09 100644
--- a/youtube_dl/extractor/playtvak.py
+++ b/youtube_dl/extractor/playtvak.py
@@ -25,7 +25,7 @@ class PlaytvakIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Vyžeňte vosy a sršně ze zahrady',
             'description': 'md5:f93d398691044d303bc4a3de62f3e976',
-            'thumbnail': 're:(?i)^https?://.*\.(?:jpg|png)$',
+            'thumbnail': r're:(?i)^https?://.*\.(?:jpg|png)$',
             'duration': 279,
             'timestamp': 1438732860,
             'upload_date': '20150805',
@@ -38,7 +38,7 @@ class PlaytvakIE(InfoExtractor):
             'ext': 'flv',
             'title': 're:^Přímý přenos iDNES.cz [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
             'description': 'Sledujte provoz na ranveji Letiště Václava Havla v Praze',
-            'thumbnail': 're:(?i)^https?://.*\.(?:jpg|png)$',
+            'thumbnail': r're:(?i)^https?://.*\.(?:jpg|png)$',
             'is_live': True,
         },
         'params': {
@@ -52,7 +52,7 @@ class PlaytvakIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Zavřeli jsme mraženou pizzu do auta. Upekla se',
             'description': 'md5:01e73f02329e2e5760bd5eed4d42e3c2',
-            'thumbnail': 're:(?i)^https?://.*\.(?:jpg|png)$',
+            'thumbnail': r're:(?i)^https?://.*\.(?:jpg|png)$',
             'duration': 39,
             'timestamp': 1438969140,
             'upload_date': '20150807',
@@ -66,7 +66,7 @@ class PlaytvakIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Táhni! Demonstrace proti imigrantům budila emoce',
             'description': 'md5:97c81d589a9491fbfa323c9fa3cca72c',
-            'thumbnail': 're:(?i)^https?://.*\.(?:jpg|png)$',
+            'thumbnail': r're:(?i)^https?://.*\.(?:jpg|png)$',
             'timestamp': 1439052180,
             'upload_date': '20150808',
             'is_live': False,
@@ -79,7 +79,7 @@ class PlaytvakIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Recesisté udělali z billboardu kolotoč',
             'description': 'md5:7369926049588c3989a66c9c1a043c4c',
-            'thumbnail': 're:(?i)^https?://.*\.(?:jpg|png)$',
+            'thumbnail': r're:(?i)^https?://.*\.(?:jpg|png)$',
             'timestamp': 1415725500,
             'upload_date': '20141111',
             'is_live': False,