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

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 and that populates them in a comma-separated values (CSV) file as absolute uniform resource indicators (URIs).

  1. Explain how the Python program extracts the web links from the HTML code of the “Current Estimates” web link.
  2. Explain the criteria you used to determine if a link is a locator to another HTML page. Specify the code segment that executes this action as part of your explanation.
  3. Explain how the program ensures that relative links are saved as absolute URIs in the output file. Specify the code segment that executes this action as part of your explanation.
  4. Explain how the program ensures that there are no duplicated links in the output file. Specify the code that executes this action as part of your explanation.
  5. Provide the Python code you wrote to extract all the unique web links from the HTML code of the “Current Estimates” web link that point out to other HTML pages.
  6. Provide the HTML code of the “Current Estimates” web page.
  7. Provide the CSV file that your script created.
  8. Test your script and provide a screenshot of the successfully executed results.

weblink

https://www.census.gov/programs-surveys/popest.html

"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!":

Get started