Skip to content

Commit

Permalink
Look at <iframe> too, to handle videos embedded like that.
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurvideo committed May 11, 2009
1 parent 823f136 commit a6afc8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions FlashVideo/URLFinder.pm
Expand Up @@ -24,8 +24,8 @@ sub find_package {
# element (avoids grabbing things like codebase attribute).
# Also look at embedded scripts for sites which embed their content that way.

URLS: for my $possible_url(
$browser->content =~ m!(?:<object[^>]+>.*?|<(?:script|embed) [^>]*src=["']?)(http://[^"'> ]+)!gx) {
for my $possible_url($browser->content =~
m!(?:<object[^>]+>.*?|<(?:script|embed|iframe) [^>]*src=["']?)(http://[^"'> ]+)!gix) {
$package = find_package_url($possible_url, $browser);
return $package, $possible_url if defined $package;
}
Expand Down
2 changes: 1 addition & 1 deletion get_flash_videos
Expand Up @@ -27,7 +27,7 @@ use FlashVideo::RTMPDownloader;
use FlashVideo::Utils;
use FlashVideo::GoogleVideoSearch;

use constant VERSION => "1.10";
use constant VERSION => "1.11";

use constant VER_INFO => <<EOF;
get_flash_videos version @{[VERSION]} (http://code.google.com/p/get-flash-videos/)
Expand Down

0 comments on commit a6afc8a

Please sign in to comment.