]> gitweb @ CieloNegro.org - youtube-dl.git/commit
Fix Brightcove detection when another Flash object is on the page
authorJoey Adams <joeyadams3.14159@gmail.com>
Sat, 12 Oct 2013 01:52:30 +0000 (21:52 -0400)
committerJoey Adams <joeyadams3.14159@gmail.com>
Sat, 12 Oct 2013 01:52:33 +0000 (21:52 -0400)
commit32835331496e0a77cf7b21f34b80b2ae6e9142a5
treeeef4c77207c0212350e6f2fca89812264b2e1e90
parent8032e31f2dfcccd2a20bc028a6534ac9f89ee10a
Fix Brightcove detection when another Flash object is on the page

The regex used non-greedy match, but alas it failed on input like this:

    <object class="...> ... class="BrightcoveExperience"

It captured two objects and the intervening HTML.  This commit fixes this by
not allowing a ">" to appear before BrightcoveExperience.

Video in question: http://www.harpercollinschildrens.com/feature/petethecat/
youtube_dl/extractor/generic.py