Python Forum
Web scraping read particular section
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web scraping read particular section
#1
I am trying read contents from particular section from a URL/web page.

I am able to achieve this using beatifulsoup using findall and giving classname soup.find(class_="_2RngUh").

But now I want to go to particular section based on input string. eg: product specification.
then I need to get class_ name(class_="_2RngUh") for that section so that I can read full data in that section.
Reply


Messages In This Thread
Web scraping read particular section - by AjayBachu - May-06-2020, 11:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  web scraping extract particular Div section AjayBachu 7 10,375 May-12-2020, 03:24 PM
Last Post: AjayBachu
  how to print out all the link <a> under each h2 section using beautifulsoup HenryJ 2 12,458 Feb-02-2018, 02:55 AM
Last Post: HenryJ
  Monitor a section of a webpage for changes yeto 1 3,149 Dec-05-2017, 08:09 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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