Question: Create a file called artists.js that will scrape the provided url: http://www. popvortex.com/music/charts/top-rap-songs.php and print to the console all artists & songs that are sung

Create a file called artists.js that will scrape the provided url: http://www. popvortex.com/music/charts/top-rap-songs.php and print to the console all artists & songs that are sung by the specified artists given via the command line.

Requirements: • The specified artists must be read in via the command line (important that it must be input by user)

• If no artist(s) are specified print to the console “No artist(s) provided”.

• If the specified artist(s) are not found on the website print to the console “Artist(s) not found”

• If the specified artist(s) are found on the website: Print to the console in the following format of artistName: songName

Step by Step Solution

3.51 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!