[generic] Add support for tube8 embeds
This commit is contained in:
parent
d3431dcb90
commit
069937151e
2 changed files with 12 additions and 0 deletions
|
@ -31,6 +31,12 @@ class Tube8IE(KeezMoviesIE):
|
|||
'only_matching': True,
|
||||
}]
|
||||
|
||||
@staticmethod
|
||||
def _extract_urls(webpage):
|
||||
return re.findall(
|
||||
r'<iframe[^>]+\bsrc=["\']((?:https?:)?//(?:www\.)?tube8\.com/embed/(?:[^/]+/)+\d+)',
|
||||
webpage)
|
||||
|
||||
def _real_extract(self, url):
|
||||
webpage, info = self._extract_info(url)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue