diff --git a/recipes/pc_lab.recipe b/recipes/pc_lab.recipe index 99ac822e73..0df923cd25 100644 --- a/recipes/pc_lab.recipe +++ b/recipes/pc_lab.recipe @@ -75,9 +75,7 @@ class PCLab(BasicNewsRecipe): href = link.get('href', None) if href and href.startswith('/'): link['href'] = 'http://pclab.pl' + href - # finally remove some tags - # for r in soup.findAll('div', attrs={'class':['tags', 'index', - # 'script_bxad_slot_display_list_bxad_slot', 'index first', 'zumi', - # 'navigation']}) + for r in soup.findAll(name='a', href=re.compile(r'^https://www.skapiec.pl/')): + r.extract() return soup