The Given Project is a song lyrics scrapper tool created using BeautifulSoup ,Tkinter and Selenium webdriver. This Project scrapes the song lyrics from the site genius.com
-
Install Python and pip in open windows powershell using python website
-
Install Virtualenv by:
pip install virtualenv
- open windows powershell and create a virtual environment using virtualenv :
virtualenv venv
- Keep all these files in the venv folder and move to scripts folder and activate virtual environment:
1) cd Scripts
2) .\activate
- Then Install Necessary packages like :
BeautifulSoup - pip install BeautifulSoup (Used for Scraping)
Selenium - pip install Selenium (Used for Navigation between Webpages)
Tkinter - pip install Tkinter (Used for GUI)
requests - pip install requests (Used for user requests on Webpages
- To run the project - Open powershell and command:
python interface.py
- A GUI interface will be shown like this -
- After that we will be logged in -
- Then with the help of selenium we will be navigated to genius.com site and lyrics will be scraped using BeautifulSoup
- The Scraped Lyrics will be stored in lyrics.txt file.