ajout website dans table actifs
This commit is contained in:
@@ -53,6 +53,8 @@ def getYahooQuote(ticker):
|
||||
if divs[1].span.text != 'Dividend': #Ignore this row in the table
|
||||
#I'm only interested in 'Close' price;
|
||||
data.append({'Date': divs[0].span.text, 'Close': float(divs[5].span.text.replace(',',''))})
|
||||
break
|
||||
|
||||
# retourne la prière ligne
|
||||
return data[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user