thenewslens.com.php 660 B

123456789101112131415161718192021
  1. <?php
  2. return array(
  3. 'grabber' => array(
  4. '%.*%' => array(
  5. 'test_url' => 'http://international.thenewslens.com/post/255032/',
  6. 'body' => array(
  7. '//div[@class="article-section"]',
  8. ),
  9. 'strip' => array(
  10. '//div[contains(@class,"ad-")]',
  11. '//div[@class="article-title-box"]',
  12. '//div[@class="function-box"]',
  13. '//p/span',
  14. '//aside',
  15. '//footer',
  16. '//div[@class="article-infoBot-box"]',
  17. '//div[contains(@class,"standard-container")]'
  18. ),
  19. ),
  20. ),
  21. );