Python Scripting

  

Midterm Assessment – Web scraping and reading PDF

Task 1 – Web Scraping

Create a program that will scrape the sayings from: https://quotes.toscrape.com/page/2/

Set up your program to allow the user to input a page number (1-10) which will return the quotes from that page.

Deliverables for Task 1

· Program to pull and display the quotes from the quotes to scrape webpage

· Screenshot of your output from the program

Task 2 – Reading PDF

Create a program that will pull details from the PDF document: USCensus.pdf

Output the information into a text document names: _USCensus.txt

Deliverables for Task 2

· Program to read data from a PDF document

· Screenshot of your output from the program.

Tags: No tags