18 lines
427 B
PHP
18 lines
427 B
PHP
|
<?php
|
||
|
|
||
|
return array(
|
||
|
'grabber' => array(
|
||
|
'%.*%' => array(
|
||
|
'test_url' => 'https://www.muckrock.com/news/archives/2016/jan/13/5-concerns-private-prisons/',
|
||
|
'body' => array(
|
||
|
'//div[@class="content"]',
|
||
|
),
|
||
|
'strip' => array(
|
||
|
'//h1',
|
||
|
'//div[@class="secondary"]',
|
||
|
'//aside',
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
);
|