feeds: fix XML namespace (#56)

namespaces are very particular and the https:// version is not the valid
namespace for this XML document

note: this doesn't fix it in the watermark code. that will be fixed by the watermark PR. please don't trample over it ty <3
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#56
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
master
justcool393 2022-12-09 03:49:50 +00:00 committed by Snakes
parent 25b5675ac4
commit 0ea43788e3
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def feeds_user(sort='hot', t='all'):
doc, tag, text = Doc().tagtext()
with tag("feed", ("xmlns:media","https://search.yahoo.com/mrss/"), xmlns="https://www.w3.org/2005/Atom",):
with tag("feed", ("xmlns:media","http://search.yahoo.com/mrss/"), xmlns="http://www.w3.org/2005/Atom",):
with tag("title", type="text"):
text(f"{sort} posts from {SITE}")