# HG changeset patch # User darius # Date 1192780380 0 # Node ID 294581b9c72fa8bad86b899138ff7870ec5edb7f # Parent 1378b9c50305f4e0e91baed6cb154d03e14fb6a2 Restrict searches to Australia. diff -r 1378b9c50305 -r 294581b9c72f scrape-gm.py --- a/scrape-gm.py Sat Aug 25 05:19:37 2007 +0000 +++ b/scrape-gm.py Fri Oct 19 07:53:00 2007 +0000 @@ -5,7 +5,7 @@ # # Prints out matched player names agreated by server # -# $Id: scrape-gm.py,v 1.1.1.1 2007/08/25 05:15:14 darius Exp $ +# $Id: scrape-gm.py,v 1.2 2007/10/19 07:53:00 darius Exp $ ############################################################################ # # Copyright (C) 2007 Daniel O'Connor. All rights reserved. @@ -146,7 +146,7 @@ try: #f = open("gm.html") - f = urllib.urlopen("http://www.game-monitor.com/search.php?search=" + urllib.quote(sys.argv[1]) + "&type=player") + f = urllib.urlopen("http://www.game-monitor.com/search.php?search=" + urllib.quote(sys.argv[1]) + "&type=player&location=AU") except IOError, e: print "Unable to fetch page - " + str(e) sys.exit(0)