# HG changeset patch # User William Roberts # Date 1277911142 -3600 # Node ID c1b745b16f589fe57af37b111d4634f8ebdec195 # Parent 1b8ed359830556e750584b3c009c33126499a875 version 0.18 - detect the login redirections on the new-look developer site Added additional debug information for incomplete transfers and login failures. diff -r 1b8ed3598305 -r c1b745b16f58 downloadkit/downloadkit.py --- a/downloadkit/downloadkit.py Tue Jun 29 21:56:25 2010 +0100 +++ b/downloadkit/downloadkit.py Wed Jun 30 16:19:02 2010 +0100 @@ -26,7 +26,7 @@ import hashlib import xml.etree.ElementTree as ET -version = '0.17' +version = '0.18' user_agent = 'downloadkit.py script v' + version headers = { 'User-Agent' : user_agent } top_level_url = "https://developer.symbian.org" @@ -312,13 +312,15 @@ try: response = urllib2.urlopen(req) chunk = response.read(CHUNK) - if chunk.find('
') != -1: + if chunk.find('