From 5c0b2c16a80c509dbcee48f48da3de0bf9912cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sat, 9 May 2015 12:34:45 +0200 Subject: [PATCH] [vgtv] Escape '#' in _VALID_URL and remove empty newlines at the end In verbose mode, '#' is interpreted as the start of a comment. --- youtube_dl/extractor/vgtv.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py index db7a4bdb1..eb2652fb1 100644 --- a/youtube_dl/extractor/vgtv.py +++ b/youtube_dl/extractor/vgtv.py @@ -17,7 +17,7 @@ class VGTVIE(InfoExtractor): (?Pvgtv|bt) (?: :| - \.no/(?:tv/)?#!/(?:video|live)/ + \.no/(?:tv/)?\#!/(?:video|live)/ ) (?P[0-9]+) ''' @@ -188,5 +188,3 @@ class BTVestlendingenIE(InfoExtractor): def _real_extract(self, url): return self.url_result('xstream:btno:%s' % self._match_id(url), 'Xstream') - -