Universal Feed Parser - How do I keep attributes?

Max Erickson maxerickson at gmail.com
Thu Jan 11 10:01:24 EST 2007


Gabriel Genellina <gagsl-py at yahoo.com.ar> wrote:

> At Wednesday 10/1/2007 14:38, snewman18 at gmail.com wrote:
> 
>> >>> d =
>> >>> feedparser.parse('http://weather.yahooapis.com/forecastrss?p=
> 94089')
>> >>> d.feed.yweather_location
>>u''
> 
> You have to feed it the *contents* of the page, not its URL.
> 
> 

The online documentation disagrees with you:

http://feedparser.org/docs/introduction.html


max




More information about the Python-list mailing list