[extractor] Framework for embed detection (#4307)
This commit is contained in:
parent
47304e07dc
commit
8f97a15d1c
8 changed files with 149 additions and 77 deletions
|
|
@ -402,11 +402,11 @@ class BrightcoveNewIE(AdobePassIE):
|
|||
|
||||
@staticmethod
|
||||
def _extract_url(ie, webpage):
|
||||
urls = BrightcoveNewIE._extract_urls(ie, webpage)
|
||||
urls = BrightcoveNewIE._extract_brightcove_urls(ie, webpage)
|
||||
return urls[0] if urls else None
|
||||
|
||||
@staticmethod
|
||||
def _extract_urls(ie, webpage):
|
||||
def _extract_brightcove_urls(ie, webpage):
|
||||
# Reference:
|
||||
# 1. http://docs.brightcove.com/en/video-cloud/brightcove-player/guides/publish-video.html#setvideoiniframe
|
||||
# 2. http://docs.brightcove.com/en/video-cloud/brightcove-player/guides/publish-video.html#tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue