BIA660 – Review Scraper (Solution)

$ 29.99
Category:

Description

Available until Sep 26 at 3:45pm

This assignment was locked Sep 26 at 3:45pm.
– Create a script named parser.py
– Your script should define the following functions: def getCritic(review): finds and returns the name of the critic from the given review object.
def getRating(review): finds and returns the rating from the given review object. The return value should be ‘rotten’ , ‘fresh’, or ‘NA’ if the review doesn’t have a rating.
def getSource(review): finds and returns the source (e.g ‘New York Daily News’) of the review from the given review object. The return value should be ‘NA’ if the review doesn’t have a source.
def getTextLen(review): finds and returns the number of characters in the text of the review from the given review object. The return value should ‘NA’ if the review doesn’t have text.
https://sit.instructure.com/courses/20207/assignments/91047 1/1

Reviews

There are no reviews yet.

Be the first to review “BIA660 – Review Scraper (Solution)”

Your email address will not be published. Required fields are marked *