Python Forum
Scrape Multiple items from a webpage
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scrape Multiple items from a webpage
#2
Quote:
soup1 = soup.find_all("img")
for i in soup1:
    Image = i['src']
     
    #ddprint(Image['src'])
    soup3 = soup.find("table", {"class":"wikitable sortable"})

So for every image on the page... find all the tables with a certain class, and then do more stuff.
Those sound like two different things.
Reply


Messages In This Thread
RE: Scrape Multiple items from a webpage - by nilamo - Sep-11-2017, 04:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scrape table from multiple pages Nhattanktnn 1 950 Jun-07-2023, 09:35 AM
Last Post: Larz60+
  scrape data 1 go to next page scrape data 2 and so on alkaline3 6 5,411 Mar-13-2020, 07:59 PM
Last Post: alkaline3
  Pass multiple items from one parse to another using Scrapy nazmulfinance 2 4,701 Jan-23-2020, 06:44 PM
Last Post: nazmulfinance
  Need advice how to scrape a Chinese webpage omar 2 2,082 Nov-21-2019, 12:30 PM
Last Post: snippsat
  Scrape multiple urls LXML santdoyle 1 3,622 Oct-26-2019, 09:53 PM
Last Post: snippsat
  How to create Flask-Stripe Checkout and Charge for the multiple items Antares 4 5,386 Jul-05-2019, 10:20 AM
Last Post: Antares
  display multiple sensors on webpage python flask jinja pascale 6 5,387 Jan-29-2019, 10:10 AM
Last Post: pascale
  Multiple input box in a webpage have same XPATH sumandas89 3 5,276 Jul-19-2018, 08:41 AM
Last Post: buran
  Scrape multiple lines with regex greetings 2 3,117 Jul-04-2018, 09:09 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020