Mercurial > ~darius > hgwebdir.cgi > scrape-gm
diff scrape-gm.py @ 8:fbaf34d7bab7
Only list Australian servers.
author | darius@inchoate.localdomain |
---|---|
date | Tue, 26 Feb 2008 16:49:48 +1030 |
parents | 825302e32c35 |
children | 0e18c714b69d |
line wrap: on
line diff
--- a/scrape-gm.py Wed Nov 21 11:57:40 2007 +1030 +++ b/scrape-gm.py Tue Feb 26 16:49:48 2008 +1030 @@ -147,7 +147,7 @@ try: #f = open("gm.html") - f = urllib.urlopen("http://www.game-monitor.com/search.php?search=" + urllib.quote(sys.argv[1]) + "&type=player&location=AU") + f = urllib.urlopen("http://www.game-monitor.com/search.php?location=AU&search=" + urllib.quote(sys.argv[1]) + "&type=player&location=AU") except IOError, e: print "Unable to fetch page - " + str(e) sys.exit(0)