Browse Source

[yahoo] Look for Brightcove Legacy Studio embeds(closes #9345)

totalwebcasting
Remita Amine 8 years ago
parent
commit
7a979da8cb
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      youtube_dl/extractor/yahoo.py

+ 9
- 1
youtube_dl/extractor/yahoo.py View File

@ -19,7 +19,10 @@ from ..utils import (
determine_ext, determine_ext,
) )
from .brightcove import BrightcoveNewIE
from .brightcove import (
BrightcoveLegacyIE,
BrightcoveNewIE,
)
from .nbc import NBCSportsVPlayerIE from .nbc import NBCSportsVPlayerIE
@ -223,6 +226,11 @@ class YahooIE(InfoExtractor):
if nbc_sports_url: if nbc_sports_url:
return self.url_result(nbc_sports_url, NBCSportsVPlayerIE.ie_key()) return self.url_result(nbc_sports_url, NBCSportsVPlayerIE.ie_key())
# Look for Brightcove Legacy Studio embeds
bc_url = BrightcoveLegacyIE._extract_brightcove_url(webpage)
if bc_url:
return self.url_result(bc_url, BrightcoveLegacyIE.ie_key())
# Look for Brightcove New Studio embeds # Look for Brightcove New Studio embeds
bc_url = BrightcoveNewIE._extract_url(webpage) bc_url = BrightcoveNewIE._extract_url(webpage)
if bc_url: if bc_url:


Loading…
Cancel
Save