root/lang/perl/plagger/assets/plugins/Filter-EntryFullText/99bb.yaml

Revision 20328, 0.6 kB (checked in by drry, 7 days ago)
  • fixed and removed svn props.
Line 
1# http://(ppv|monthly).99bb.com/ja/detail/
2author: yusukebe
3handle_force: http://(ppv|monthly)\.99bb\.com/ja/detail/.*?
4extract: <strong>(.*?)</strong></h1>.*?<img src="(.*?)".*?女優名.*?<td><h3>(.*?)</h3></td>.*?公開開始.*?<td class="px12">(\d{4}-\d{2}-\d{2})</td>.*?コメント.*?<td class="px12">(.*?)</td>
5extract_capture: title img act date body
6extract_after_hook: |
7  $data->{body}=~ s/<br><br>.*?<br><br>//g;
8  my @acts = split("\n", $data->{act});
9  $data->{act}= join(",", @acts);
10  $data->{act}=~ s/<a href=.*?>(.*?)<\/a>/$1/g;
11  $data->{act}= "---" if($data->{act} eq '');
Note: See TracBrowser for help on using the browser.