diff options
author | Nigel Taylor <njtaylor0101@gmail.com> | 2013-03-16 12:40:42 -0700 |
---|---|---|
committer | Nigel Taylor <njtaylor0101@gmail.com> | 2013-03-16 12:40:42 -0700 |
commit | 15622befec9aa7d3bdbe1f99ed45a5feeb6dd9a6 (patch) | |
tree | 145dd53596b29142949813f1e71eb965ddfa9507 | |
parent | 7a4f6cdf8125c9d672d0c02a1b99b6e1e4e8b0d0 (diff) | |
parent | 7bb213f79b5de38a6d6a93c0fd7a43959bf632ee (diff) | |
download | get-flash-videos-15622befec9aa7d3bdbe1f99ed45a5feeb6dd9a6.tar.gz |
Merge pull request #2 from atomicdryad/updates
Tone down FlashVideo::Site::Channel5's greediness
-rw-r--r-- | lib/FlashVideo/Site/Channel5.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/FlashVideo/Site/Channel5.pm b/lib/FlashVideo/Site/Channel5.pm index 643b3f6..5f11f73 100644 --- a/lib/FlashVideo/Site/Channel5.pm +++ b/lib/FlashVideo/Site/Channel5.pm @@ -226,9 +226,6 @@ sub can_handle { my($self, $browser, $url) = @_; return 1 if $url && URI->new($url)->host =~ /\.channel5\.com$/; - - return $browser->content =~ /(playerI[dD]|brightcove.player.create)/ - && $browser->content =~ /brightcove/i; } 1; |