Parse RSS feeds with Lua

note, May 23, 2023 on Mitja Felicijan's blog

Example of parsing RSS feeds with Lua. Before running the script install:

  • feedparser with luarocks install feedparser
  • luasocket with luarocks install luasocket
local http = require("socket.http")
@@ -26,21 +26,18 @@
 else
   print("! Request failed. Status:", status)
 end
-