This project aims to scrape music information such as artists, albums, songs, and lyrics from URL: https://azlyrics.com/
.
Ensure that you're in the correct directory path, this can be checked using pwd
command: .../Web-ScrapingAZLyrics
.
The ls
command should return this:
$ ls
data/ README.md scrape_artists.py
- Simply run the Python script that utilizes BeautifulSoap using command
python scrape_artists.py
to save all artists names and their URLs in a json format.- The output file is:
artists.json
inside thedata/artists
directory.
- The output file is: