2015-10-18 23:31:23 +02:00
|
|
|
<?php
|
2015-10-20 04:49:30 +02:00
|
|
|
|
2015-10-18 23:31:23 +02:00
|
|
|
return array(
|
|
|
|
'grabber' => array(
|
|
|
|
'%.*%' => array(
|
|
|
|
'test_url' => 'http://arstechnica.com/tech-policy/2015/09/judge-warners-2m-happy-birthday-copyright-is-bogus/',
|
|
|
|
'body' => array(
|
|
|
|
'//section[@id="article-guts"]',
|
|
|
|
'//div[@class="superscroll-content show"]',
|
|
|
|
),
|
|
|
|
'strip' => array(
|
|
|
|
'//figcaption',
|
|
|
|
'//aside',
|
|
|
|
'//div[@class="article-expander"]',
|
|
|
|
),
|
2015-10-20 04:49:30 +02:00
|
|
|
),
|
|
|
|
),
|
2015-10-18 23:31:23 +02:00
|
|
|
);
|