aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Arroyo <darroyolpz@users.noreply.github.com>2020-08-14 15:30:45 +0100
committerGitHub <noreply@github.com>2020-08-14 15:30:45 +0100
commit6d406cc79786423ddfee4edf98061f7c67aca5cf (patch)
treeef2b248d57ff8998428a3e844e053017bddbc332
parent862dbaa1cff5a19421c5806e80104b8a50f90629 (diff)
New words added
TWT and Trust for possible token listing
-rw-r--r--binance-scraping-bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/binance-scraping-bot.py b/binance-scraping-bot.py
index 10619e5..9d074d8 100644
--- a/binance-scraping-bot.py
+++ b/binance-scraping-bot.py
@@ -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) \ No newline at end of file
+df.to_excel(path, index = False)