Changeset 1411

Show
Ignore:
Timestamp:
08/19/06 18:15:30
Author:
mizzy
Message:

add test for CustomFeed?::YouTube?
CustomFeed?::YouTube?: fix the way of extracting description

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/CustomFeed/YouTube.pm

    r1260 r1411  
    6666            m!<img src="(http://[\w-]*static\d+(.[\w-]+)?\.youtube.com/[^">]+/[12].jpg)" class="vimg120" />! 
    6767                and $data->{image}->{url} = $1; 
    68             m!<div class="vdesc">(.*)</div>
    69                 and $data->{description} = $1
     68            m!<div class="vdesc">
     69                and $data->{description} = <$fh>
    7070            m!<div class="vtagLabel">Tags:</div>! 
    7171                and $tag_flag = 1;