user-agent
This commit is contained in:
parent
ffb548cb39
commit
94837624f1
|
@ -37,6 +37,7 @@ def get_link(post):
|
|||
return post.link
|
||||
|
||||
def parse_feeds(weeks, uri):
|
||||
feedparser.USER_AGENT = "IronBloggerBot/0.1 +http://ironblogger.de/"
|
||||
feed = feedparser.parse(uri)
|
||||
|
||||
print >>sys.stderr, "Parsing: %s" % uri
|
||||
|
|
Loading…
Reference in a new issue