Answer & Explanation:Hello i need some one to help me to write a python code ( no more than 7-10 statements)Screen Scraper.docx Thank you
screen_scraper.docx
Unformatted Attachment Preview
ITEC 423
A Simple Screen Scraper
In this exercise we will create a simple screen scraper using the python language that extracts
links from a given web site of a depth of two (can be modified later if desired), from an initial
start page. Links will be extracted in a breadth-first fashion. This scraper will use the Beautiful
Soup API that will be helpful to separate the HTML code from the page content. It works well
for parsing pages with broken HTML. See Blackboard for more information to download
Beautiful Soup and for working with python. I will have a few demonstrations examples in class
and will distribute sample code.
For this assignment we will modify the original “searchengine.py” file to include a function that
stores all of the extracted links into a file. We will then read each link, visit the page and extract
the content only from each page (stripping out all HTML tags). You will need to create a
function (or modify the existing calc() function) to include a word frequency component. The
word frequencies of the words in each page should be printed to the screen and to a file. If you
have extra time, feel free to add other components and features into your program.
Turn in:
1. Your complete python code (you do not need to submit the code for Beautiful Soup)
2. The output file where the URL’s were stored
3. The output from the program with the results of the word frequency counter
…
Purchase answer to see full
attachment
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more