2016-03-24 17:49:50 -04:00
|
|
|
<?php
|
|
|
|
return array(
|
|
|
|
'grabber' => array(
|
|
|
|
'%.*%' => array(
|
2016-04-17 19:34:54 -04:00
|
|
|
'test_url' => 'http://www.sciencemag.org/news/2016/01/could-bright-foamy-wak$',
|
2016-03-24 17:49:50 -04:00
|
|
|
'body' => array(
|
|
|
|
'//div[@class="row--hero"]',
|
|
|
|
'//article[contains(@class,"primary")]',
|
|
|
|
),
|
|
|
|
'strip' => array(
|
|
|
|
'//header[@class="article__header"]',
|
|
|
|
'//footer[@class="article__foot"]',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
);
|