2015-12-16 01:26:15 +01:00
|
|
|
<?php
|
|
|
|
return array(
|
|
|
|
'grabber' => array(
|
|
|
|
'%.*%' => array(
|
2016-12-26 23:32:18 +01:00
|
|
|
'test_url' => 'www.thelocal.se/20161219/this-swede-can-memorize-hundreds-of-numbers-in-only-five-minutes',
|
2015-12-16 01:26:15 +01:00
|
|
|
'body' => array(
|
2016-12-26 23:32:18 +01:00
|
|
|
'//div[@id="article-photo"]',
|
|
|
|
'//div[@id="article-description"]',
|
|
|
|
'//div[@id="article-body"]',
|
2015-12-16 01:26:15 +01:00
|
|
|
),
|
|
|
|
'strip' => array(
|
2016-12-26 23:32:18 +01:00
|
|
|
'//div[@id="article-info-middle"]',
|
2016-01-12 02:03:13 +01:00
|
|
|
)
|
2015-12-16 01:26:15 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
2016-12-26 23:32:18 +01:00
|
|
|
|