aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Taylor <njtaylor0101@gmail.com>2013-03-16 12:40:42 -0700
committerNigel Taylor <njtaylor0101@gmail.com>2013-03-16 12:40:42 -0700
commit15622befec9aa7d3bdbe1f99ed45a5feeb6dd9a6 (patch)
tree145dd53596b29142949813f1e71eb965ddfa9507
parent7a4f6cdf8125c9d672d0c02a1b99b6e1e4e8b0d0 (diff)
parent7bb213f79b5de38a6d6a93c0fd7a43959bf632ee (diff)
downloadget-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.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;