diff --git a/recipes/rmf24_ESKN.recipe b/recipes/rmf24_ESKN.recipe index ace2cf84c8..281f3a4c65 100644 --- a/recipes/rmf24_ESKN.recipe +++ b/recipes/rmf24_ESKN.recipe @@ -26,13 +26,11 @@ class RMF24_ESKN(BasicNewsRecipe): (u'Nauka', u'http://www.rmf24.pl/nauka/feed')] keep_only_tags = [ - dict(name='div', attrs={'class': 'box articleSingle print'})] + dict(name='header', attrs={'class': 'article-header'}), + dict(name='div', attrs={'class': 'article-container'})] - remove_tags = [ - dict(name='div', attrs={'class': 'toTop'}), - dict(name='div', attrs={'class': 'category'}), - dict(name='div', attrs={'class': 'REMOVE'}), - dict(name='div', attrs={'class': 'embed embedAd'})] + remove_tags = [dict(name='div', attrs={'id': 'ReklamaMobile'}), + dict(name='img', attrs={'class': 'img-responsive hidden-lg hidden-md hidden-sm'})] extra_css = ''' h1 { font-size: 1.2em; } @@ -42,7 +40,6 @@ class RMF24_ESKN(BasicNewsRecipe): (re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in [ (r'