HTTPProgressDownloader: Make User-Agent header HbbTV compliant
[openblackhole/openblackhole-enigma2.git] / lib / python / Tools / Downloader.py
index e67aaed..88fc68e 100644 (file)
@@ -5,7 +5,7 @@ from urlparse import urlparse
 
 class HTTPProgressDownloader(client.HTTPDownloader):
        def __init__(self, url, outfile, headers=None):
-               client.HTTPDownloader.__init__(self, url, outfile, headers=headers, agent="STB HTTP Downloader")
+               client.HTTPDownloader.__init__(self, url, outfile, headers=headers, agent="Enigma2 HbbTV/1.1.1 (+PVR+RTSP+DL;OpenPLi;;;)")
                self.status = None
                self.progress_callback = None
                self.deferred = defer.Deferred()