pombreda / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

Not picking up feedburner:origEnclosureLink tag #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. parse feed http://feeds2.feedburner.com/stereogum/cBYa
2. try to get the url in the feedburner:origEnclosureLink tag -
d.entries[0].???
3.

What is the expected output? What do you see instead?
expected output is the url in the tag.

What version of the product are you using? On what operating system?
version 4.1 with python 2.6 on WinXP 32bit

Please provide any additional information below.
I don't even know if this is a bug, probably not, maybe an enhancement.
I'd like to get this value.
It would be cool if it kept all tags it doesn't recognize and check if it
found one via has_key() then get the value and attrs based on the key.

Original issue reported on code.google.com by danjacob...@gmail.com on 6 Jun 2009 at 4:36

GoogleCodeExporter commented 9 years ago
The following code works:
>>> f = feedparser.parse("http://feeds2.feedburner.com/stereogum/cBYa")
>>> f.entries[0]['feedburner_origlink']
u'http://stereogum.com/archives/mp3/mysplice_4_106911.html'
>>> f.entries[0]['feedburner_origenclosurelink']
u'http://stereogum.com/mp3/mysplice-4/Stereogum%20x%20team9%20-
%2022%20Nights%20With%20Lily.mp3'

Original comment by adewale on 25 Dec 2009 at 7:11