Python Forum

Full Version: Scraping div tags with selenium, need help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I do not know how to scrape
<div data-type="events"


here:
[Image: m4T0pH4]



here's part of the the outer HTML
<div data-type="events" data-recid="37804" data-sv-adstyle="recid" data-sv-adrecid="37804" data-gtm-vars="{&quot;tCore&quot;:


is there a way to scrape
<div data-type="events"


Thank you
(Mar-12-2023, 07:34 AM)hfakoor2 Wrote: [ -> ]I do not know how to scrape
<div data-type="events"


here:
[Image: m4T0pH4]



here's part of the the outer HTML
<div data-type="events" data-recid="37804" data-sv-adstyle="recid" data-sv-adrecid="37804" data-gtm-vars="{&quot;tCore&quot;:


is there a way to scrape
<div data-type="events"


Thank you





I figured it out using XPATH. Thread can be closed. Thank you. Just realised the image is broken.