Develop a web links scraper program in Python that extracts all of the unique web links that point out to other web pagesPython Programming

Develop a web links scraper program in Python that extracts all of the unique web links that point out to other web pages from the HTML code of the “Current Estimates” web link, both from the “US Census Bureau” website (see web link below) and outside that domain, and that populates them in a comma-separated values (CSV) file as absolute uniform resource indicators (URIs).

 

A.    Explain how the Python program extracts the web links from the HTML code of the “Current Estimates,” found in web links section.

B.    Explain the criteria you used to determine if a link is a locator to another HTML page. Identify the code segment that executes this action as part of your explanation.

C.    Explain how the program ensures that relative links are saved as absolute URIs in the output file. Identify the code segment that executes this action as part of your explanation.

D.    Explain how the program ensures that there are no duplicated links in the output file. Identify the code that executes this action as part of your explanation.

Note: Please consider weblinks that point to the same web pages as identical  (e.g., www.commerce.gov and www.commerce.gov/).

E.    Provide the Python code you wrote to extract all the unique web links from the HTML code of the “Current Estimates” (in the web links section), that point out to other HTML pages.

F.    Provide the HTML code of the “Current Estimates” web page scrapped at the time when the scraper was run and the CSV file was generated.

G.    Provide the CSV file that your script created.

H.    Run your script and provide a screenshot of the successfully executed results.

I.     Acknowledge sources, using in-text citations and references, for content that is quoted, paraphrased, or summarized.

J.    Demonstrate professional communication in the content and presentation of your submission.

Python Programming Experts

expert
Oliver
Python Programming

60 Answers

expert
Issac Torres
Python Programming

67 Answers

View More Experts
Disclaimer

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.

Get Free Quote!

270 Experts Online