Description:
The Spotify Playlist Automation project is a Python application that automates the process of creating personalized playlists by utilizing top music charts. The program allows users to input a specific year, then scrapes the Billboard website to extract the Top 100 songs from that year using the combination of Selenium and Beautiful Soup for efficient web scraping. Once the data is gathered, the program processes and parses it to retrieve song titles and artists.
With the Spotipy API, the application then uses this parsed data to automatically create a playlist on the user's Spotify account, populating it with the top songs from the selected year. This integration not only saves time for users but also adds a nostalgic touch to their music experience, allowing them to relive the hits from any given year.
The program is designed with object-oriented principles, ensuring modularity and scalability. It securely handles sensitive data such as Spotify credentials through environment variables and leverages JSON to format and store the playlist data. Exception handling is incorporated to account for common issues like failed API calls or incorrect user input, ensuring that the application remains robust and user-friendly.
Technologies Used:
Programming Language:
Python
Technologies:
Beautiful Soup)
environment variables
equests module
user input handling
web scraping (Selenium
Connect With Me