diff options
| author | Remita Amine <remitamine@gmail.com> | 2016-09-08 16:42:47 +0100 | 
|---|---|---|
| committer | Remita Amine <remitamine@gmail.com> | 2016-09-08 16:44:22 +0100 | 
| commit | 7a979da8cb91abd7386cc2986d2ec2f4a2debb4c (patch) | |
| tree | 3dbe1c4b899838a2b70a4a6168d65bc7b88139fa | |
| parent | 2fdc7b0e0438e7f72380cfff11b619fe36234ebd (diff) | |
[yahoo] Look for Brightcove Legacy Studio embeds(closes #9345)
| -rw-r--r-- | youtube_dl/extractor/yahoo.py | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py index d7a81ab8c..91f0a0dbb 100644 --- a/youtube_dl/extractor/yahoo.py +++ b/youtube_dl/extractor/yahoo.py @@ -19,7 +19,10 @@ from ..utils import (      determine_ext,  ) -from .brightcove import BrightcoveNewIE +from .brightcove import ( +    BrightcoveLegacyIE, +    BrightcoveNewIE, +)  from .nbc import NBCSportsVPlayerIE @@ -223,6 +226,11 @@ class YahooIE(InfoExtractor):          if nbc_sports_url:              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          bc_url = BrightcoveNewIE._extract_url(webpage)          if bc_url: | 
