This project for purpose analyzing music trending video of users in the world.
- Python(recommend 3.8)
- Pip
- Firefox
- Jupyter notebook
pip3 install -r requirements.txt
For crawl url from youtube and located them to scraping_data.txt. Depending on internet banwidth the number of data could change (usually decreasing), so we don't recommend you running the script again and use our default data file
python youtube_scraping.py
From list url at file scraping_data.txt we extract ID and call API to youtube to get the information of each video and store in file list_infor.csv and id are stored in file list_id.txt
python scraping_info_data_youtube.py
Run vscode file: youtube_music_analysis.ipynb
or
run notebook: youtube_music_analysis.ipynb