Skip to content

Commit

Permalink
chore(LOG): Added intro banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Vel-San committed Feb 27, 2024
1 parent 0ab3481 commit bcd5c2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 15 additions & 1 deletion wbmbot_v2/helpers/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

# Bot version (MAJOR.MINOR.PATCH)
bot_version = "1.1.0"
bot_version = "1.1.1"

# Today
today = dt.date.today()
Expand Down Expand Up @@ -30,3 +30,17 @@
# URLs
wbm_url = "https://www.wbm.de/wohnungen-berlin/angebote/"
test_wbm_url = f"file://{os.getcwd()}/test-data/angebote.html"

# Intro Banner

intro_banner = """
__ _____ __ __ ___ ___ _____ ___
\ \ / / _ ) \/ | _ )/ _ \_ _| __ _|_ )
\ \/\/ /| _ \ |\/| | _ \ (_) || | \ V // /
\_/\_/ |___/_| |_|___/\___/ |_| \_//___|
_ __ __ _
| |__ _ _ \ \ / /__| |
| '_ \ || | \ V / -_) |
|_.__/\_, | \_/\___|_|
|__/
"""
3 changes: 3 additions & 0 deletions wbmbot_v2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def main():
color_me = wbm_logger.ColoredLogger(__appname__)
LOG = color_me.create_logger()

# Show Intro Banner, use 'print' instead of LOG to make it prettier
print(f"{constants.intro_banner}")

# Create ChromeDriver
LOG.info(
color_me.cyan(
Expand Down

0 comments on commit bcd5c2a

Please sign in to comment.