params = urllib.urlencode({'tarih': today}) sock = urllib.urlopen("http://www.kafm.metu.edu.tr/yemek.php?%s" % params)