Revision: 8686 Author: multichill Date: 2010-10-24 21:40:00 +0000 (Sun, 24 Oct 2010) Log Message: ----------- Change flinfo url.
Modified Paths: -------------- trunk/pywikipedia/flickrripper.py
Modified: trunk/pywikipedia/flickrripper.py =================================================================== --- trunk/pywikipedia/flickrripper.py 2010-10-24 12:10:15 UTC (rev 8685) +++ trunk/pywikipedia/flickrripper.py 2010-10-24 21:40:00 UTC (rev 8686) @@ -128,14 +128,14 @@
def getFlinfoDescription(photo_id = 0): ''' - Get the description from http://pywikibot.ramselehof.de/flinfo.php + Get the description from http://wikipedia.ramselehof.de/flinfo.php
TODO: Add exception handling, try a couple of times ''' parameters = urllib.urlencode({'id' : photo_id, 'raw' : 'on'})
rawDescription = urllib.urlopen( - "http://pywikibot.ramselehof.de/flinfo.php?%s" % parameters).read() + "http://wikipedia.ramselehof.de/flinfo.php?%s" % parameters).read()
return rawDescription.decode('utf-8')
pywikipedia-svn@lists.wikimedia.org