summaryrefslogtreecommitdiff
path: root/binance-announcements-scraping-bot.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-10-09 02:03:51 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-10-09 02:03:51 +0300
commit7d011538f64a09dad7e89cce448975fbff23fb52 (patch)
tree9de409adcebfb99531e8daea5bd65b1c0a6dd57c /binance-announcements-scraping-bot.py
parent18bb303d526c58143586769eef1289f09b345f79 (diff)
just slightly change message markup
Diffstat (limited to 'binance-announcements-scraping-bot.py')
-rwxr-xr-xbinance-announcements-scraping-bot.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/binance-announcements-scraping-bot.py b/binance-announcements-scraping-bot.py
index 4d7d14a..de8f2af 100755
--- a/binance-announcements-scraping-bot.py
+++ b/binance-announcements-scraping-bot.py
@@ -61,13 +61,12 @@ if __name__ == '__main__':
state['urls'].append(item['link'])
if updates:
- buf = f"<b>{category['title']}</b>\n"
+ buf = f"<b>Binance: {category['title']}</b>\n"
buf += '\n'.join(list(map(lambda item: f"<a href='{item['link']}'>{item['text']}</a>", updates)))
blocks.append(buf)
if blocks:
- message = '<b>Binance Announcements</b>\n\n'
- message += '\n\n'.join(blocks)
+ message = '\n\n'.join(blocks)
if args.stdout:
print(message)