How to Extract Inner HTML of element?

  1. My search link
  2. After clicked on first image
  3. Now i need it select " Related Images <div class="tiled-images__container">" and copy inner html into csv
  4. Click on right arrow

<div class="preview2__arrow-icon preview2__arrow-icon_type_right"></div>

  1. repeat


If I look at the list web scraping commands, the best solution seems to use sourceExtract. You can use a regular expression to get the HTML source code that you need.

  • sourceExtract | (regex here) | result
  • store | ${result} | !csvLine
  • csvSave | yourdata.csv
1 Like

ty but it’s a little bit confused me because i’m just new :slight_smile: