From 7ee1b752db0b967e8c54fe250d378f37629b5999 Mon Sep 17 00:00:00 2001 From: etmatrix Date: Sun, 21 Apr 2019 09:20:07 +0200 Subject: [PATCH] [verystream] little bug fix --- youtube_dl/extractor/verystream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/verystream.py b/youtube_dl/extractor/verystream.py index 5828352ac..892c72cf1 100644 --- a/youtube_dl/extractor/verystream.py +++ b/youtube_dl/extractor/verystream.py @@ -34,7 +34,7 @@ class VerystreamIE(InfoExtractor): (?:www\.)? %s )/ - (?:e|embed)/ + (?:e|stream)/ (?P[a-zA-Z0-9-_]+) ''' % _DOMAINS @@ -48,7 +48,7 @@ class VerystreamIE(InfoExtractor): @staticmethod def _extract_urls(webpage): return re.findall( - r']+src=["\']((?:https?://)?%s/embed/[a-zA-Z0-9-_]+)' + r']+src=["\']((?:https?://)?%s/stream/[a-zA-Z0-9-_]+)' % VerystreamIE._DOMAINS, webpage) def _real_extract(self, url): @@ -65,7 +65,7 @@ class VerystreamIE(InfoExtractor): }, } - for path in ('e', 'embed'): + for path in ('e', 'stream'): page_url = url_pattern % path last = path == 'f' webpage = self._download_webpage(