morss: use redirected url in :getpage
Still have to find how to do the same thing with feeds...master
parent
35b702fffd
commit
e6811138fd
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in New Issue