Question

Create a file called artists.js (or a node project) that will scrape the provided url:"url" and...

Create a file called artists.js (or a node project) that will scrape the provided url:"url" and send an email of 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 • If no artist(s) are specified do not send an email • If the specified artist(s) are not found on the website, do not send an email • If the specified artist(s) are found on the website: – Send an email from an email account of your choice, to an email account of your choice (when I am testing this, I will input my own accounts for this portion) – The subject will be: “Your artist(s) are: ” followed by a list of the artist(s). Be sure to format this portion correctly i.e. if the user specifies node artists Drake Migos xxxtentacion your subject should be: Your artists are: Migos, Drake, and xxxtentacion – The email format should be the artist in bold and the song name in italics, see below 1 Things to note: • Be careful when making too many requests to a website, there is a possibility of being rate-limited • Only worry about the top 25 songs, the website is dynamic and sometimes has more or less songs depending on the day. • Don’t worry about case, it’s up to the user to ensure spelling and proper casing • Don’t worry about artists that have more than one word in their name i.e. Cardi B and Post Malone. Although we love them, it makes it tricky when reading from the command line • If the artist is included as a feature, please include that as a song i.e. if searching for Migos, please include the track - Gucci Mane Featuring Migos: I Get The Bag

Homework Answers

Answer #1

Please upvote if you found this answer useful or drop-in the comment's section your queries. I will try to assist you with the best possible solution.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Subject: Shell Scripting Practice A File: practice-script-a Create File practice-script-a that: 1. Accepts any number of...
Subject: Shell Scripting Practice A File: practice-script-a Create File practice-script-a that: 1. Accepts any number of userids on the command line 2. For each userid, display the userid, PID, CPU time, and current command for each process owned by that userid Your output should look similar to this example: practice-script-a doug.jones User: doug.jones PID: 8748 TIME: 00:00:00 COMMAND: /usr/lib/systemd/systemd --user User: doug.jones PID: 8749 TIME: 00:00:00 COMMAND: (sd-pam)    User: doug.jones PID: 8750 TIME: 00:00:00 COMMAND: sshd: doug.jones@pts/5 User: doug.jones...
PYTHON : Create a Email Address Parser (* Please do make comments*) Often times, you may...
PYTHON : Create a Email Address Parser (* Please do make comments*) Often times, you may be given a list of raw email addresses and be asked to generate meaningful information from such a list. This project involves parsing such a list and generating names and summary information from that list. The script, eparser.py, should: Open the file specified as the first argument to the script (see below) Read the file one line at a time (i.e., for line in...
Pandora is the Internet’s most successful subscription radio service. As of June 2013, it had over...
Pandora is the Internet’s most successful subscription radio service. As of June 2013, it had over 200 million registered users (140 million of which access the service via a mobile device) and over 70 million active listeners. Pandora now accounts for more than 70% of all Internet radio listening hours and a 7% share of total U.S. radio listening (both traditional and Internet). At Pandora, users select a genre of music based on a favorite musician, and a computer algorithm...