|
@@ -2,6 +2,7 @@ from lxml import etree
|
|
import urllib.request
|
|
import urllib.request
|
|
import os
|
|
import os
|
|
from argparse import ArgumentParser
|
|
from argparse import ArgumentParser
|
|
|
|
+from datetime import datetime
|
|
|
|
|
|
parser = ArgumentParser()
|
|
parser = ArgumentParser()
|
|
parser.add_argument("url", type=str)
|
|
parser.add_argument("url", type=str)
|
|
@@ -32,6 +33,7 @@ FILE = open(os.path.join(DIR, "index.html"), "w")
|
|
|
|
|
|
print(HEADER, file=FILE)
|
|
print(HEADER, file=FILE)
|
|
print("<h1>RSS Feed</h1>", file=FILE)
|
|
print("<h1>RSS Feed</h1>", file=FILE)
|
|
|
|
+print(f"<p>Bijgewerkt: {datetime.now().strftime('%d-%m-%Y %H:%M uur')}", file=FILE)
|
|
print("<ul>", file=FILE)
|
|
print("<ul>", file=FILE)
|
|
|
|
|
|
feed = urllib.request.urlopen("https://finetuned.nl/freshrss/p/i/?a=rss&rid=610659e817a51&hours=168")
|
|
feed = urllib.request.urlopen("https://finetuned.nl/freshrss/p/i/?a=rss&rid=610659e817a51&hours=168")
|