New words added
TWT and Trust for possible token listing
This commit is contained in:
parent
862dbaa1cf
commit
6d406cc797
@ -14,7 +14,7 @@ soup = BeautifulSoup(response.text, 'html.parser')
|
||||
news_list = soup.find_all(class_ = 'css-sbrje5')
|
||||
|
||||
# Create a bag of key words for getting matches
|
||||
key_words = ['list', 'token sale', 'open trading', 'opens trading', 'perpetual', 'FTX']
|
||||
key_words = ['list', 'token sale', 'open trading', 'opens trading', 'perpetual', 'FTX', 'twt', 'trust']
|
||||
|
||||
# Open old database file
|
||||
path = "/home/pi/db.xlsx"
|
||||
@ -41,4 +41,4 @@ for news in news_list:
|
||||
# Export updated news to Excel
|
||||
cols = ['Text', 'Link']
|
||||
df = df.append(pd.DataFrame(updated_list, columns=cols), ignore_index = True)
|
||||
df.to_excel(path, index = False)
|
||||
df.to_excel(path, index = False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user