Revert "Improve facebook and feedburner workarounds"
This PARTIALLY reverts commit 8a5202efd5
(only the feedburner part).
master
parent
3a784be93e
commit
6975772ef9
6
morss.py
6
morss.py
|
@ -307,9 +307,9 @@ def Fix(item, feedurl='/'):
|
|||
|
||||
# feedburner
|
||||
feeds.NSMAP['feedburner'] = 'http://rssnamespace.org/feedburner/ext/1.0'
|
||||
if item.id:
|
||||
item.link = item.id
|
||||
log(item.link)
|
||||
match = item.xval('feedburner:origLink')
|
||||
if match:
|
||||
item.link = match
|
||||
|
||||
# feedsportal
|
||||
match = re.search('/([0-9a-zA-Z]{20,})/story01.htm$', item.link)
|
||||
|
|
Loading…
Reference in New Issue