Changeset 1093
- Timestamp:
- 07/16/06 19:24:25
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/CustomFeed/YouTube.pm
r845 r1093 54 54 while (<$fh>) { 55 55 # get title 56 m!<div class=" title">!56 m!<div class="vtitle">! 57 57 and $title_flag = 1; 58 58 m!<a href="/watch\?v=([^&]+)&search=[^>]+">(.+)</a>! … … 64 64 } 65 65 }; 66 m!<img src="(http://[\w-]*static\d+(.[\w-]+)?\.youtube.com/[^">]+/1.jpg)" class="vimg Sm" />!66 m!<img src="(http://[\w-]*static\d+(.[\w-]+)?\.youtube.com/[^">]+/1.jpg)" class="vimg90" />! 67 67 and $data->{image}->{url} = $1; 68 m!<div class=" desc">(.*)</div>!68 m!<div class="vdesc">(.*)</div>! 69 69 and $data->{description} = $1; 70 m!< td><span class="grayText">Tags:</span></td>!70 m!<div class="vtagLabel">Tags:</div>! 71 71 and $tag_flag = 1; 72 m!(< td><a href="/results\?search=.*)!72 m!(<a href="/results\?search=.*)! 73 73 and do { 74 74 if($tag_flag){
