diff options
author | fnord <fnord@fnord.mobi> | 2013-03-16 14:19:56 -0500 |
---|---|---|
committer | fnord <fnord@fnord.mobi> | 2013-03-16 14:19:56 -0500 |
commit | 7bb213f79b5de38a6d6a93c0fd7a43959bf632ee (patch) | |
tree | 145dd53596b29142949813f1e71eb965ddfa9507 | |
parent | eb324405607cc16c86863ab5d9735bec36170b9b (diff) | |
download | get-flash-videos-7bb213f79b5de38a6d6a93c0fd7a43959bf632ee.tar.gz |
Tone down FlashVideo::Site::Channel5's greediness, sanely.
Removes deprecated brightcode test.
-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; |