Changeset 2042

Show
Ignore:
Timestamp:
08/31/08 00:41:07
Author:
mizzy
Message:

assets/plugins/Filter-FindEnclosures/youtube.pl: follow the changes of html.Thanks for yusukebe.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/Filter-FindEnclosures/youtube.pl

    r1989 r2042  
    2626        } 
    2727 
    28     if ($args->{content} =~ /video_id=([^&]+)&l=\d+&t=([^&]+)/gms){ 
     28    if ($args->{content} =~ /video_id=([^&]+)&.+?&t=([^&]+)/gms){ 
    2929        my $enclosure = Plagger::Enclosure->new; 
    3030        $enclosure->url("http://youtube.com/get_video?video_id=$1&t=$2");