Hi All,
I am trying to parse a GoogleAtom feed file, all the operations are working
fine except when it comes to <link>.
The feed file contains an entry : <link href ="">.
I'm using the following code:
d = feedparser.parse(self.start_urls[0])
entries = d['entries'] #Dict
for entry in entries:
data['PageURL'] = entry['links'][0]['href']
This code returns the start_url instead of blank or None for the above
specified <link> tag.
But when I run the same code on Python shell, it returns ' ' (blank/empty)
Could you please help me understand as to why is this happening in Scrapy.
--
You received this message because you are subscribed to the Google Groups
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.