2013-08-31 17:05:45 +02:00
|
|
|
<?php
|
|
|
|
return array(
|
2015-04-28 18:08:42 +02:00
|
|
|
'grabber' => array(
|
|
|
|
'%.*%' => array(
|
2015-10-12 21:29:25 +02:00
|
|
|
'test_url' => 'http://www.numerama.com/sciences/125959-recherches-ladn-recompensees-nobel-de-chimie.html',
|
2015-04-28 18:08:42 +02:00
|
|
|
'body' => array(
|
2015-10-12 21:29:25 +02:00
|
|
|
'//article',
|
2015-04-28 18:08:42 +02:00
|
|
|
),
|
|
|
|
'strip' => array(
|
2015-10-12 21:29:25 +02:00
|
|
|
'//footer',
|
|
|
|
'//section[@class="related-article"]',
|
2015-04-28 18:08:42 +02:00
|
|
|
)
|
|
|
|
)
|
2013-08-31 17:05:45 +02:00
|
|
|
)
|
2015-10-12 21:29:25 +02:00
|
|
|
);
|