mirror of
https://github.com/hongtaocai/googlefinance.git
synced 2025-02-25 18:55:20 -06:00
Merge 15162d5183
into 9f703d8d4e
This commit is contained in:
commit
3ec350abdd
@ -34,11 +34,11 @@ googleFinanceKeyToFullName = {
|
||||
def buildUrl(symbols):
|
||||
symbol_list = ','.join([symbol for symbol in symbols])
|
||||
# a deprecated but still active & correct api
|
||||
return 'http://finance.google.com/finance/info?client=ig&q=' \
|
||||
return 'https://finance.google.com/finance/info?client=ig&q=' \
|
||||
+ symbol_list
|
||||
|
||||
def buildNewsUrl(symbol, qs='&start=0&num=1000'):
|
||||
return 'http://www.google.com/finance/company_news?output=json&q=' \
|
||||
return 'https://www.google.com/finance/company_news?output=json&q=' \
|
||||
+ symbol + qs
|
||||
|
||||
def request(symbols):
|
||||
|
Loading…
Reference in New Issue
Block a user