mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2024-11-04 08:19:24 -06: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):
|
||||
url = buildNewsUrl(symbol)
|
||||
print "url: ", url
|
||||
print("url: ", url)
|
||||
req = Request(url)
|
||||
resp = urlopen(req)
|
||||
content = resp.read()
|
||||
|
Loading…
Reference in New Issue
Block a user