morss: use redirected url in :getpage

Still have to find how to do the same thing with feeds...
master
pictuga 2020-04-04 20:04:57 +02:00
parent 35b702fffd
commit e6811138fd
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ def cgi_page(environ, start_response):
if contenttype in ['text/html', 'application/xhtml+xml', 'application/xml']:
html = lxml.html.fromstring(BeautifulSoup(data, 'lxml').prettify())
html.make_links_absolute(url)
html.make_links_absolute(con.geturl())
kill_tags = ['script', 'iframe', 'noscript']