gettextify and add codepage for P5sResultsParser
This commit is contained in:
parent
919b915ffa
commit
3486320b6a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user