retractionwatch.com.php 543 B

123456789101112131415161718
  1. <?php
  2. return array(
  3. 'grabber' => array(
  4. '%.*%' => array(
  5. 'test_url' => 'http://retractionwatch.com/2015/11/12/psychologist-jens-forster-settles-case-by-agreeing-to-2-retractions/',
  6. 'body' => array(
  7. '//*[@class="main"]',
  8. '//*[@class="entry-content"]',
  9. ),
  10. 'strip' => array(
  11. '//*[contains(@class, "sharedaddy")]',
  12. '//*[contains(@class, "jp-relatedposts")]',
  13. '//p[@class="p1"]',
  14. )
  15. )
  16. )
  17. );