https://github.com/lixx21/spotify-scrapping
Scraping data from Spotify Playlist URL using Python and Selenium
https://github.com/lixx21/spotify-scrapping
data-engineer data-scraping python scraping-websites selenium spotify-playlist
Last synced: 30 days ago
JSON representation
Scraping data from Spotify Playlist URL using Python and Selenium
- Host: GitHub
- URL: https://github.com/lixx21/spotify-scrapping
- Owner: lixx21
- Created: 2023-08-17T06:33:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-18T11:54:33.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T11:41:42.599Z (over 1 year ago)
- Topics: data-engineer, data-scraping, python, scraping-websites, selenium, spotify-playlist
- Language: Python
- Homepage: https://medium.com/@felixpratama242/scraping-spotify-playlist-using-python-and-selenium-17e0175f2db2
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SCRAPPING SPOTIFY DATA
This project will scraping data from **Spotify playlist URL** using Selenium and Python. You can see the full explanation of this project through this link: [Scraping Spotify Playlist using Python and Selenium](https://medium.com/@felixpratama242/scraping-spotify-playlist-using-python-and-selenium-17e0175f2db2)
To run this project you can clone using this command:
```
git clone https://github.com/lixx21/spotify-scrapping.git
```
Then you can install the libraries that needed to run this project:
```
pip install -r requirements.txt
```
After that you can run the python script using the following command:
```
python scraping.py -u {spotify_playlist_url} -o {csv_file.csv}
```
For the example of how to run the script is like this:
```
python scraping.py -u https://open.spotify.com/playlist/0L39AS9Z3C8A8Pt0YZvT9p -o mix.csv
```
NOTE:
**To fetch more data from your playlist, you need to scroll down when the website is open through the web drive, because if you want to load all the data in spotify, you need to scroll down until the last page and we have solved this using infinite scroll**