Faster relative link resolution
parent
7575291f8f
commit
1bd17f1365
1
morss.py
1
morss.py
|
@ -297,7 +297,6 @@ def Fill(item, cache, feedurl='/', fast=False):
|
||||||
log(item.link)
|
log(item.link)
|
||||||
|
|
||||||
# check relative urls
|
# check relative urls
|
||||||
if urlparse.urlparse(item.link).netloc is '':
|
|
||||||
item.link = urlparse.urljoin(feedurl, item.link)
|
item.link = urlparse.urljoin(feedurl, item.link)
|
||||||
|
|
||||||
# check unwanted uppercase title
|
# check unwanted uppercase title
|
||||||
|
|
Loading…
Reference in New Issue