Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Beautifulsoup Scraping
#1
Good day folks,

I started last week my first webscraping project. The code is working (beginner level), but I have some struggle to continue it. It would be nice if you could give some advice or give a step into the right direction.




1. looping over different webpages

On the webpage there are several pages that I need to loop over. I have added to the weblink "&page=(page)", but this does not seem to work as it only scrape one page.

2. problem with the id variable

I would like to retrieve the data-id from the below HTML code. But this is a little tricky as it seems it is not part from the class and therefore I am not able to retrieve it like hp

Thanks for the assistance,
Regards,
Reply


Messages In This Thread
Beautifulsoup Scraping - by PolskaYBZ - Jun-21-2019, 10:26 AM
RE: Beautifulsoup Scraping - by snippsat - Jun-21-2019, 11:48 AM
RE: Beautifulsoup Scraping - by metulburr - Jun-21-2019, 12:07 PM
RE: Beautifulsoup Scraping - by PolskaYBZ - Jun-22-2019, 10:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scraping based on years BeautifulSoup rhat398 0 1,849 May-22-2021, 07:20 PM
Last Post: rhat398
  Combining selenium and beautifulsoup for web scraping sumandas89 3 11,849 Jan-30-2018, 02:14 PM
Last Post: metulburr
  Scraping with BeautifulSoup Prince_Bhatia 8 7,223 Sep-07-2017, 06:34 PM
Last Post: Prince_Bhatia

Forum Jump:

User Panel Messages

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