aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/nova.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-21 21:22:37 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-21 21:22:37 +0600
commit0cef27ad255b5cb994b1fa0e80a04bd09514925a (patch)
tree225530bf08227d04755aa4c86f41a07e43a22980 /youtube_dl/extractor/nova.py
parent12af4beb3e28f986170ed00488b48e2e8bcd4e13 (diff)
Add missing r prefix for _VALID_URLs
Diffstat (limited to 'youtube_dl/extractor/nova.py')
-rw-r--r--youtube_dl/extractor/nova.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nova.py b/youtube_dl/extractor/nova.py
index 3f9c776ef..72f72b803 100644
--- a/youtube_dl/extractor/nova.py
+++ b/youtube_dl/extractor/nova.py
@@ -12,7 +12,7 @@ from ..utils import (
class NovaIE(InfoExtractor):
IE_DESC = 'TN.cz, Prásk.tv, Nova.cz, Novaplus.cz, FANDA.tv, Krásná.cz and Doma.cz'
- _VALID_URL = 'http://(?:[^.]+\.)?(?P<site>tv(?:noviny)?|tn|novaplus|vymena|fanda|krasna|doma|prask)\.nova\.cz/(?:[^/]+/)+(?P<id>[^/]+?)(?:\.html|/|$)'
+ _VALID_URL = r'http://(?:[^.]+\.)?(?P<site>tv(?:noviny)?|tn|novaplus|vymena|fanda|krasna|doma|prask)\.nova\.cz/(?:[^/]+/)+(?P<id>[^/]+?)(?:\.html|/|$)'
_TESTS = [{
'url': 'http://tvnoviny.nova.cz/clanek/novinky/co-na-sebe-sportaci-praskli-vime-jestli-pujde-hrdlicka-na-materskou.html?utm_source=tvnoviny&utm_medium=cpfooter&utm_campaign=novaplus',
'info_dict': {