diff --git a/crawler.py b/crawler.py index a238022..d354236 100644 --- a/crawler.py +++ b/crawler.py @@ -159,9 +159,7 @@ def excluded(excluded ,incoming): for line in lines: if line.strip() and not line in exclude: f.write('\n'.join([line + '\n'])) - elif line.startswith((tuple(exline))): - f.write('\n'.join([line + '\n'])) - elif not line.strip(): + else: f.write('\n'.join([line + '\n'])) def blankremover(incoming):