mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2024-06-30 16:55:19 -05:00
edited print statement
Print statement changed for python 3 compatibility .
This commit is contained in:
parent
d5a6aa096c
commit
bd1cc12e8d
|
@ -52,7 +52,7 @@ def request(symbols):
|
||||||
|
|
||||||
def requestNews(symbol):
|
def requestNews(symbol):
|
||||||
url = buildNewsUrl(symbol)
|
url = buildNewsUrl(symbol)
|
||||||
print "url: ", url
|
print("url: ", url)
|
||||||
req = Request(url)
|
req = Request(url)
|
||||||
resp = urlopen(req)
|
resp = urlopen(req)
|
||||||
content = resp.read()
|
content = resp.read()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user