japantimes.co.jp.php 697 B

123456789101112131415161718192021
  1. <?php
  2. return array(
  3. 'grabber' => array(
  4. '%.*%' => array(
  5. 'test_url' => 'http://www.japantimes.co.jp/news/2015/09/27/world/social-issues-world/pope-meets-sex-abuse-victims-philadelphia-promises-accountability/',
  6. 'body' => array(
  7. '//article[@role="main"]',
  8. ),
  9. 'strip' => array(
  10. '//script',
  11. '//header',
  12. '//div[contains(@class, "meta")]',
  13. '//div[@class="clearfix"]',
  14. '//div[@class="OUTBRAIN"]',
  15. '//ul[@id="content_footer_menu"]',
  16. '//div[@class="article_footer_ad"]',
  17. '//div[@id="disqus_thread"]',
  18. ),
  19. ),
  20. ),
  21. );