X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=XMLParse2.py;fp=XMLParse2.py;h=3a14e2bc808e2af18998c1d838a5d46d002ece00;hb=7c1189be656d2ab9f484d9d0f1ab1b8f287de4c8;hp=563a0faad0f12adb0ac2b45b167887abf59c3073;hpb=5978ce5ae181d88a687a1eae36bde3513e2d06dd;p=planet-ucc.git 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