Skip to content

Commit

Permalink
Extract title for dailymotion again.
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurvideo committed Apr 14, 2009
1 parent fff9e94 commit 0ecd25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FlashVideo/Site/Dailymotion.pm
Expand Up @@ -9,7 +9,7 @@ sub find_video {
my ($self, $browser) = @_;

my $filename;
if ($browser->content =~ /video_title"[^>]+>(.*?)<\//) {
if ($browser->content =~ /<h1[^>]*>(.*?)<\//) {
$filename = title_to_filename($1);
}
$filename ||= get_video_filename();
Expand Down

0 comments on commit 0ecd25a

Please sign in to comment.