summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.asciidoc1
-rwxr-xr-xmisc/userscripts/openfeeds3
2 files changed, 3 insertions, 1 deletions
diff --git a/README.asciidoc b/README.asciidoc
index 451c140dc..8d534b252 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -214,6 +214,7 @@ Contributors, sorted by the number of commits in descending order:
* Samuel Loury
* Matthias Lisin
* Marcel Schilling
+* Kevin Velghe
* Jean-Christophe Petkovich
* Helen Sherwood-Taylor
* HalosGhost
diff --git a/misc/userscripts/openfeeds b/misc/userscripts/openfeeds
index 9e619ec83..085bdbe67 100755
--- a/misc/userscripts/openfeeds
+++ b/misc/userscripts/openfeeds
@@ -30,9 +30,10 @@ import os
import re
from bs4 import BeautifulSoup
+from urllib.parse import urljoin
with open(os.environ['QUTE_HTML'], 'r') as f:
soup = BeautifulSoup(f)
with open(os.environ['QUTE_FIFO'], 'w') as f:
for link in soup.find_all('link', rel='alternate', type=re.compile(r'application/((rss|rdf|atom)\+)?xml|text/xml')):
- f.write('open -t %s\n' % link.get('href'))
+ f.write('open -t %s\n' % urljoin(os.environ['QUTE_URL'], link.get('href')))