Skip to content

calibretaliation/lyrics_nerds_scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the data preparation - a.k.a scraping module of my lyrics_nerds project.

Basically, it does the job of getting a singer's information, his/her songs and the song's information like lyrics, etc...

For MongoDB connection, please edit the connectino information in configs/config.py
Please sign up for AWS API Gateway for scraping efficiently. Instruction: https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html

Usage:

conda create -n scraping python=3.10 

conda activate scraping

git clone https://github.com/calibretaliation/lyrics_nerds_scraping

cd lyrics_nerds_scraping

pip install -r requirements.txt

SONG_URL=https://www.azlyrics.com/lyrics/taylorswift/carolina.html                                                     

python scraping.py --mode song --print-result --test --song-url $SONG_URL                                                     

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages