Creating a web scraping agent with chrome extension

Data Scraping Studio chrome extension known as "Advanced Web Scraper" is a point and click interface to create scraping agent using CSS selectors in few minutes.

Just install the extension and go to any website and launch it, a sidebar will open on the website right side. Click on the + New button to add a new field and then click on the asterisk(*) button to enable selector for that field. Now click on a page element that would like to extract(it will turn green), then the web scraping app will generate the best CSS selector for that element and will also highlighted(yellow) other matching element by the selector.

You can click on the highlighted(yellow) element to remove from the selector and click on un-highlighted element to add to the selector. Through this process of selection & rejection, web scraping app will help you to find the best selector of item need to be extracted.


Extract TEXT

Select the text option from drop down to see the instant result preview of text for all the elements matching with selector.

amazon website scraping

Extract HTML

Select the HTML option from drop down to see the instant result preview of HTML for all the element matching with selector.

html scraping with css selectors


The ATTR method returns the attributes value of the selected elements, just select the ATTR option from drop down and write the name of attribute in next input field to see the instant result preview of extracted attribute for all the element matching with selector.

Using the ATTR method you can extract anything from a HTML tag e.g URL from a link, image source(src), content from a meta tag, HTML 5 data attribute and more....

attribute scraping with CSS selectors

Custom CSS selector

You can also write your custom CSS selector and click on Accept button to save. And web scraping app will show you instant result preview of custom CSS selector as well extract the matching result.

Extract Hidden element

Since hidden element are not visible on a web page - so you cannot point and click. But can write the custom CSS selector for hidden element and extract anything you want from the webpage. For e.g in screenshot below, i've extracted META tag description

<meta name="description" content="Amazon Coupons, Discounts, Coupon Codes &amp; Deals. Get free Amazon discount vouchers to save money on your Amazon purchase. 10 coupons and free shipping." />

meta tags scraping 

Output Preview

Click on the menu icon on top to see the output preview. The current page output can also be downloaded in popular file format such as JSON, CSV, TSV.

advanced screen scraping


Now we are done with setting-up CSS selectors for fields needs to be extracted and our scraping agent is almost ready, we can download the agent to execute with desktop software or hosted app to with advanced web scraping features to run the scraping agent online.

  1. Click on Done button to save(download) the agent locally.
  2. The scraping agent will be downloaded in “Downloads” folder in your user account with website-domain.scraping name.
    scraping agent download
  3. Go to the folder and double click to execute in desktop app.

  4. And(below screenshot) of Desktop app.

    web scraping tutorial

Related Q & A

Close me