aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfnord <fnord@fnord.mobi>2013-03-16 14:19:56 -0500
committerfnord <fnord@fnord.mobi>2013-03-16 14:19:56 -0500
commit7bb213f79b5de38a6d6a93c0fd7a43959bf632ee (patch)
tree145dd53596b29142949813f1e71eb965ddfa9507
parenteb324405607cc16c86863ab5d9735bec36170b9b (diff)
downloadget-flash-videos-7bb213f79b5de38a6d6a93c0fd7a43959bf632ee.tar.gz
Tone down FlashVideo::Site::Channel5's greediness, sanely.
Removes deprecated brightcode test.
-rw-r--r--lib/FlashVideo/Site/Channel5.pm3
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;