changeset 5:294581b9c72f

Restrict searches to Australia.
author darius
date Fri, 19 Oct 2007 07:53:00 +0000
parents 1378b9c50305
children 5058c2695109
files scrape-gm.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)