summary refs log tree commit diff stats
path: root/Overpost.py
diff options
context:
space:
mode:
Diffstat (limited to 'Overpost.py')
-rw-r--r--Overpost.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Overpost.py b/Overpost.py
index 2448319..de4539a 100644
--- a/Overpost.py
+++ b/Overpost.py
@@ -3,9 +3,7 @@ from datetime import datetime
 from re import compile
 import os
 import feedparser
-from dotenv import load_dotenv
 from MyResolver import get
-load_dotenv()
 
 RSS_URL = os.getenv("RSS_URL") or os.path.join(".", "rss.xml")
 N_LINKS_TO_REMOVE = os.getenv("N_LINKS_TO_REMOVE") or 2
@@ -67,7 +65,7 @@ def parse_entry(entry): # entry = day
 
 def handle_url(url):
     if url.startswith("http"):
-        return get(url)
+        return get(url).text
     else:
         return url