diff options
| author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-03-26 18:30:43 +0800 | 
|---|---|---|
| committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-03-26 18:30:43 +0800 | 
| commit | d10fe8358c064325349469a20be952ba794566d4 (patch) | |
| tree | 869bb8f21f7dd9b37626b6a5fd0def76904f36f3 | |
| parent | d6c340cae5c1e5704d6e709eefb7009fcda6e213 (diff) | |
[generic] Add a test case for brightcove embed
Closes #8862
| -rw-r--r-- | youtube_dl/extractor/generic.py | 18 | 
1 files changed, 17 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 12f2309fc..ea4009b41 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1124,7 +1124,23 @@ class GenericIE(InfoExtractor):                  # m3u8 downloads                  'skip_download': True,              } -        } +        }, +        # Brightcove embed, with no valid 'renditions' but valid 'IOSRenditions' +        # This video can't be played in browsers if Flash disabled and UA set to iPhone, which is actually a false alarm +        { +            'url': 'https://dl.dropboxusercontent.com/u/29092637/interview.html', +            'info_dict': { +                'id': '4785848093001', +                'ext': 'mp4', +                'title': 'The Cardinal Pell Interview', +                'description': 'Sky News Contributor Andrew Bolt interviews George Pell in Rome, following the Cardinal\'s evidence before the Royal Commission into Child Abuse. ', +                'uploader': 'GlobeCast Australia - GlobeStream', +            }, +            'params': { +                # m3u8 downloads +                'skip_download': True, +            }, +        },      ]      def report_following_redirect(self, new_url):  | 
