12345678910111213141516171819202122232425 |
- <?php
- return array(
- 'grabber' => array(
- '%.*%' => array(
- 'test_url' => 'http://arstechnica.com/tech-policy/2015/09/judge-warners-2m-happy-birthday-copyright-is-bogus/',
- 'body' => array(
- '//article',
- ),
- 'strip' => array(
- '//h4[@class="post-upperdek"]',
- '//h1',
- '//ul[@class="lSPager lSGallery"]',
- '//div[@class="lSAction"]',
- '//section[@class="post-meta"]',
- '//figcaption',
- '//aside',
- '//div[@class="gallery-image-credit"]',
- '//section[@class="article-author"]',
- '//*[contains(@id,"social-")]',
- '//div[contains(@id,"footer")]',
- ),
- ),
- ),
- );
|