diff --git a/root/app/runner_notify.py b/root/app/runner_notify.py index a971eda..5f0d870 100644 --- a/root/app/runner_notify.py +++ b/root/app/runner_notify.py @@ -16,9 +16,9 @@ def main(config): with open(config.get('locations', 'output'), 'a') as f: #input=/config/fanfiction_file #output=/output/fanfiction_file #/Users/sam/Desktop/workspace/FFFRssLinkGrabber/root/config.default/fanfiction_file for entry in feed.entries: - if entry.link not in lines: + if entry.link.replace('https://', '') not in lines: newworks += 1 - f.write(f"{entry.link}\n") + f.write(f"{entry.link.replace('https://', '')}\n") print(f"Added {newworks} works out of {len(feed.entries)} works to list.")