miniflux-legacy/vendor/miniflux/picofeed/lib/PicoFeed/Rules/gamestar.hu.php

18 lines
503 B
PHP
Raw Permalink Normal View History

2017-11-02 05:17:45 +01:00
<?php
return array(
'grabber' => array(
'%.*%' => array(
'test_url' => 'https://www.gamestar.hu/hir/horizon-zero-dawn-the-frozen-wilds-vedjegy-239019.html',
'body' => array(
'//article/header/h1',
'//div[@class="section section-2-3"]/div[@class="image"]/img',
'//article/p[@class="lead"]',
'//article/div[@class="content"]'
),
'strip' => array(
'//div[@class="ad ad-article-inside"]'
)
),
),
);