mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-26 01:37:27 +00:00
[vgtv] Escape '#' in _VALID_URL and remove empty newlines at the end
In verbose mode, '#' is interpreted as the start of a comment.
This commit is contained in:
parent
d39e0f05db
commit
5c0b2c16a8
1 changed files with 1 additions and 3 deletions
|
@ -17,7 +17,7 @@ class VGTVIE(InfoExtractor):
|
|||
(?P<host>vgtv|bt)
|
||||
(?:
|
||||
:|
|
||||
\.no/(?:tv/)?#!/(?:video|live)/
|
||||
\.no/(?:tv/)?\#!/(?:video|live)/
|
||||
)
|
||||
(?P<id>[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')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue