X-Git-Url: https://git.ucc.asn.au/?p=planet-ucc.git;a=blobdiff_plain;f=XMLParse2.py;h=3a14e2bc808e2af18998c1d838a5d46d002ece00;hp=563a0faad0f12adb0ac2b45b167887abf59c3073;hb=7c1189be656d2ab9f484d9d0f1ab1b8f287de4c8;hpb=70b487ce56a52ae51eccb89d2e1ae57485a30f59 diff --git a/XMLParse2.py b/XMLParse2.py index 563a0fa..3a14e2b 100644 --- a/XMLParse2.py +++ b/XMLParse2.py @@ -13,6 +13,8 @@ import CacheHandler sys.path.insert(0, 'extra') import feedparser +feedparser.USER_AGENT = "PlanetUCC/1.0b +http://planet.ucc.asn.au/ %s" % feedparser.USER_AGENT + class Blog: def __init__(self): self.blogTitle = None