summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2024-05-01 10:23:46 +0200
committerAndré Glüpker <git@wgmd.de>2024-05-01 10:23:46 +0200
commit15a2cd3c1a84ab94cbf8df30dcb7ed30502883fc (patch)
tree86a9fc7220eef4353148d9aa687e7bdade3f0540 /webapp.py
parent02d7f97cc63177ae875caa2b28a03c03582c4224 (diff)
downloadrss-feeds-15a2cd3c1a84ab94cbf8df30dcb7ed30502883fc.tar.gz
rss-feeds-15a2cd3c1a84ab94cbf8df30dcb7ed30502883fc.tar.bz2
rss-feeds-15a2cd3c1a84ab94cbf8df30dcb7ed30502883fc.zip
Improve naming
Diffstat (limited to 'webapp.py')
-rwxr-xr-xwebapp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp.py b/webapp.py
index cd68396..0fe540f 100755
--- a/webapp.py
+++ b/webapp.py
@@ -28,9 +28,9 @@ def not_found(e):
return "Die angeforderte Seite konnte nicht gefunden werden."
-@app.route("/zdf/<path:feed>")
-def filterZDFFeed(feed):
- return rssResponse(zdf(feed))
+@app.route("/zdf/<path:show_url>")
+def fetch_zdf_show(show_url):
+ return rssResponse(zdf(show_url))
if __name__ == "__main__":