Added another letter to feedsportal table

master
pictuga 2013-09-15 19:38:59 +02:00
parent 23246ca6c1
commit 8eb2f7c249
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ def Fill(item, cache, feedurl='/', fast=False):
match = re.search('/([0-9a-zA-Z]{20,})/story01.htm$', item.link)
if match:
url = match.groups()[0].split('0')
t = {'A':'0', 'B':'.', 'C':'/', 'D':'?', 'E':'-', 'I':'_', 'L':'http://', 'S':'www.', 'N':'.com', 'O':'.co.uk'}
t = {'A':'0', 'B':'.', 'C':'/', 'D':'?', 'E':'-', 'H':',', 'I':'_', 'L':'http://', 'S':'www.', 'N':'.com', 'O':'.co.uk'}
item.link = ''.join([(t[s[0]] if s[0] in t else '=') + s[1:] for s in url[1:]])
log(item.link)