22 lines
701 B
PHP
Executable file
22 lines
701 B
PHP
Executable file
<?php
|
|
return array(
|
|
'grabber' => array(
|
|
'%.*%' => array(
|
|
'test_url' => 'http://e-w-e.ru/16-prekrasnyx-izobretenij-zhenshhin/',
|
|
'body' => array(
|
|
'//div[contains(@class, "post_text")]',
|
|
),
|
|
'strip' => array(
|
|
'//script',
|
|
'//form',
|
|
'//style',
|
|
'//*[@class="views_post"]',
|
|
'//*[@class="adman_mobile"]',
|
|
'//*[@class="adman_desctop"]',
|
|
'//*[contains(@rel, "nofollow")]',
|
|
'//*[contains(@class, "wp-smiley")]',
|
|
'//*[contains(text(),"Источник:")]',
|
|
),
|
|
),
|
|
),
|
|
);
|