miniflux-legacy/vendor/fguillot/picofeed/lib/PicoFeed/Rules/factroom.ru.php
2017-04-05 16:05:48 -04:00

28 lines
957 B
PHP

<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'http://www.factroom.ru/life/20-facts-about-oil',
'body' => array(
'//div[@class="post"]',
),
'strip' => array(
'//script',
'//form',
'//style',
'//h1',
'//div[@id="yandex_ad2"]',
'//*[@class="jp-relatedposts"]',
'//div[contains(@class, "likely-desktop")]',
'//div[contains(@class, "likely-mobile")]',
'//p[last()]',
'//div[contains(@class, "facebook")]',
'//div[contains(@class, "desktop-underpost-direct")]',
'//div[contains(@class, "source-box")]',
'//div[contains(@class, "under-likely-desktop")]',
'//div[contains(@class, "mobile-down-post")]',
),
),
),
);