gettextify and add codepage for P5sResultsParser

This commit is contained in:
steffen123 2010-08-15 06:28:43 +02:00
parent 919b915ffa
commit 3486320b6a

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import urllib2, re import urllib2, re
import pprint import pprint
from BeautifulSoup import BeautifulSoup from BeautifulSoup import BeautifulSoup
@ -6,7 +7,7 @@ from BeautifulSoup import BeautifulSoup
playername = '' playername = ''
if playername == '': if playername == '':
print "You need to manually enter the playername" print _("You need to manually enter the playername")
exit(0) exit(0)
page = urllib2.urlopen("http://www.pocketfives.com/poker-scores/%s/" %playername) page = urllib2.urlopen("http://www.pocketfives.com/poker-scores/%s/" %playername)