Revision: 7204 Author: alexsh Date: 2009-09-03 16:48:28 +0000 (Thu, 03 Sep 2009)
Log Message: ----------- typo
Modified Paths: -------------- trunk/pywikipedia/flickrripper.py
Modified: trunk/pywikipedia/flickrripper.py =================================================================== --- trunk/pywikipedia/flickrripper.py 2009-09-03 16:47:53 UTC (rev 7203) +++ trunk/pywikipedia/flickrripper.py 2009-09-03 16:48:28 UTC (rev 7204) @@ -98,12 +98,12 @@ sha1Hash = base64.b16encode(hashObject.digest())
params = { - 'action' : 'query', + 'action' : 'query', 'list' : 'allimages', 'aisha1' : sha1Hash, 'aiprop' : '', } - data = query.GetData(params, site=wikipedia.getSite(), useAPI = True, encodeTitle = False) + data = query.GetData(params, wikipedia.getSite(), encodeTitle = False) for image in data['query']['allimages']: result.append(image['name']) return result