mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 22:47:20 +08:00
[verystream] little bug fix
This commit is contained in:
parent
a08e83f1f1
commit
7ee1b752db
@ -34,7 +34,7 @@ class VerystreamIE(InfoExtractor):
|
||||
(?:www\.)?
|
||||
%s
|
||||
)/
|
||||
(?:e|embed)/
|
||||
(?:e|stream)/
|
||||
(?P<id>[a-zA-Z0-9-_]+)
|
||||
''' % _DOMAINS
|
||||
|
||||
@ -48,7 +48,7 @@ class VerystreamIE(InfoExtractor):
|
||||
@staticmethod
|
||||
def _extract_urls(webpage):
|
||||
return re.findall(
|
||||
r'<iframe[^>]+src=["\']((?:https?://)?%s/embed/[a-zA-Z0-9-_]+)'
|
||||
r'<iframe[^>]+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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user