Commit bdcb03c4 authored by Kiste's avatar Kiste
Browse files

Fix shit

parent 86e1569a
......@@ -112,6 +112,8 @@ def do_feed(url, rules_path, verbose):
if comments:
for e in comments:
soup.append(e)
if verbose:
print('Appending comments')
cleanup_soup(soup, url_rules, verbose)
fe.content(str(soup), type='html')
......
......@@ -29,7 +29,7 @@
},
"https://www.heise.de/((newsticker|foto|security|mac-and-i|ix|make)/meldung|meldung|security/artikel)/.*": {
"article": "div[class='article-content']",
"comments": "footer[class*='beitragsfooter']",
"comments": "footer[class='article-footer']",
"reformat": [
{
"search": "html?.+=.+",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment