12345678910111213141516171819202122 |
- <?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(),"Источник:")]',
- ),
- ),
- ),
- );
|