From c3e3db87cccbc21e45d05c6397cafb8fbf06ad2e Mon Sep 17 00:00:00 2001 From: agres Date: Wed, 19 Mar 2025 01:06:52 +0100 Subject: [PATCH] Added test newline --- src/scraper.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/scraper.py b/src/scraper.py index 02ef9b5..fabb82c 100644 --- a/src/scraper.py +++ b/src/scraper.py @@ -1,7 +1,12 @@ import requests + from auth import authenticate + def main(): + """ + This function is the main function that will be executed when the script is run + """ scope = "user-read-recently-played" bearer_token = authenticate(scope) last_played_track = _get_last_played_track(bearer_token=bearer_token) @@ -27,4 +32,4 @@ def _get_last_played_track(limit: str = "1", bearer_token: str = "") -> dict: if __name__ == '__main__': - main() \ No newline at end of file + main()