]> gitweb @ CieloNegro.org - youtube-dl.git/commit
[brightcove] Always return lists from _extract_brightcove_urls
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 15 Apr 2015 16:27:39 +0000 (00:27 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 15 Apr 2015 16:27:39 +0000 (00:27 +0800)
commit9fc03aa87c74cb199f9e1e146ac5cb71b166d3e7
treee9b276896d1287690228d9dab35c469c6572dd44
parentc798f15b989bc8c3578c5b0baf75f4fb4760ba81
[brightcove] Always return lists from _extract_brightcove_urls

In Python 3, filter() returns an iterable object, which is equivalently
to True even for an empty result set. It causes false positive playlists
in generic extraction logic.
youtube_dl/extractor/brightcove.py