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