Faster relative link resolution

master
pictuga 2013-09-15 19:18:39 +02:00
parent 7575291f8f
commit 1bd17f1365
1 changed files with 1 additions and 2 deletions

View File

@ -297,8 +297,7 @@ 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
if len(item.title) > 20 and item.title.isupper(): if len(item.title) > 20 and item.title.isupper():