2015-10-18 17:31:23 -04:00
|
|
|
<?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(
|
2017-04-05 16:05:48 -04:00
|
|
|
'//article',
|
2015-10-18 17:31:23 -04:00
|
|
|
),
|
|
|
|
'strip' => array(
|
2017-04-05 16:05:48 -04:00
|
|
|
'//h4[@class="post-upperdek"]',
|
|
|
|
'//h1',
|
|
|
|
'//ul[@class="lSPager lSGallery"]',
|
|
|
|
'//div[@class="lSAction"]',
|
|
|
|
'//section[@class="post-meta"]',
|
2016-01-11 20:03:13 -05:00
|
|
|
'//figcaption',
|
|
|
|
'//aside',
|
2017-04-05 16:05:48 -04:00
|
|
|
'//div[@class="gallery-image-credit"]',
|
|
|
|
'//section[@class="article-author"]',
|
|
|
|
'//*[contains(@id,"social-")]',
|
|
|
|
'//div[contains(@id,"footer")]',
|
2015-10-18 17:31:23 -04:00
|
|
|
),
|
2015-10-19 22:49:30 -04:00
|
|
|
),
|
|
|
|
),
|
2015-10-18 17:31:23 -04:00
|
|
|
);
|
2017-04-05 16:05:48 -04:00
|
|
|
|