Web Scraping Language as a Service

Create and scale web crawls quickly and easily on the cloud with WSL (web scraping language)..

npm install -g wslang; wsl

No more Boilerplate Code.

Today's various frameworks and tools have boilerplate code that revolves around defining a web crawler, running and maintaining it. WSL reduces several lines of code into a single sentence. WSL is intuitive and simple to understand, and lets you focus on the actual web crawler development.

Easy to Learn & Maintain.

Custom code whipped up by a freelancer that later turns into spaghetti is criminal. WSL is minimal, intuitive and simple to learn. It allows you to express web crawls in a sentence and reads like English. Anyone can therefore, read, learn, and maintain your WSL scripts.

No Infrastructure to Build.

There is no servers or complex GUI software to learn. Create web crawlers with our command line tool available on Linux, Mac & Windows. Scaling is easy. just add additional workers to your job to scale the web crawl speed. Your web crawsls are distributed across various workers, which also gives you a nice rotating IP address effect.

Read more in the FAQ...

How do i get started?

Make sure you have Node.js installed and simply type in your terminal and run it:
npm i -g wslang; wsl;

Web Scraping Language (WSL)

WSL is declarative domain specific language for the web. Automate any web browser actions like following a bunch of links (aka crawling) and extracting data from each page that loads, filling out forms. Each action runs in order, separated via pipe operator >>


- You reference element(s) on the page with CSS or XPATH SELECTOR
- Extract data via JSON { 'product': '.title', 'usd': '.price', column3...etc}

Web Crawling Scenarios

Crawl URL Params

Format: GOTO URL[range] >> EXTRACT {json}
Example: GOTO github.com/search?p={{1-3}}&q={{['cms', 'chess', 'minecraft]}}' >> EXTRACT {'title': 'h3'}

3 pages X 3 keywords = 9 URL permutations will be crawled and data extracted.

Crawl & Extract

Example: GOTO en.wikipedia.org/wiki/List_of_Dexter_episodes >> CRAWL .summary a >> EXTRACT {'title': 'h1', 'code': '//tr[7]/td'}

Follow each Dexter episode link and get the title and production code.

Paginated Crawl

Format: CRAWL [strategy, pageEnd, pageStart] SELECTOR
1. Clicking 'next page' element that runs the crawl again on subsequent pages.
2. Mouse-wheel scroll to load next page.
3. Clicking numbered elements that load the next page.

1. GOTO news.ycombinator.com >> CRAWL ['.morelink'] .hnuser
GOTO news.ycombinator.com >> CRAWL ['.morelink',4] .hnuser
1st ex: Crawling all pages using the .moreLink until it can't find this element.
2nd ex: Navigating via .moreLink until the 4th page is reached.
2. GOTO news.ycombinator.com >> CRAWL ['autoscroll',2] .hnuser
GOTO news.ycombinator.com >> CRAWL ['autoscroll',4,3] .hnuser
1st ex: Crawling past the first page by scrolling down one page length, 2 times.
2nd ex: Navigating to the 3rd page first and continues crawling until the 4th page.
3. GOTO news.ycombinator.com >> CRAWL ['number'] .hnuser
GOTO news.ycombinator.com >> CRAWL ['number',4,3] .hnuser
1st ex: Finding a numbered link or element and increment exhaustively.
2nd ex: Navigating to the 3rd page via finding & clicking the numbered link until the 4th.
Extract Rows

Example: GOTO en.wikipedia.org/wiki/List_of_Dexter_episodes >> EXTRACT { 'title': 'h1', 'aired': '//table[2]//tr[2]/td[5]' } IN .wikiepisodetable

Extracts every Dexter episode's title and air date under parent element with class "wikiepisodetable".

Paginated Extract

Format: GOTO URL >> EXTRACT ['.selector', limit] {json}
Example: GOTO news.ycombinator.com >> EXTRACT ['.morelink',2] {'news': '.storylink'}

Continues extracting every news headline on every page until the 2nd page.

Nested Crawls

Example: GOTO github.com/marketplace >> CRAWL nav/ul/li/a >> crawl .h4 >> extract {'app': 'h1', 'langue': '.py-3 .d-block'}

Follows the category links, and all the apps on first page of results, extract the app name, and supported languages. Crawls recursively!

Typing Text

Format: GOTO URL >> TYPE ['keyword1', 'keyword2'...] IN SELECTOR >> TYPE [KEY_...] >> EXTRACT ...
Extract: GOTO github.com/search?q= >> type ["time", "security", "social"] IN input[@name="q"] >> TYPE ["KEY_ENTER"] >> extract {"search url": ".text-gray-dark.mr-2"}

For each keyword, we send a "KEY_ENTER" to submit the search form via the return key. Then we crawl the
first page of search results and scrape each results url to a data column key named "search url".

Clicking & Forms

Format: CLICK[n-index] SELECTOR
1. Find elements with selector and click the Nth element, note you can just use Xpath for the selector!
2. Try out every permutation possible for selected forms, crawling dropdown forms etc.
3. Click a link and execute macro action like downloading a file.

1. GOTO news.ycombinator.com/login >> CLICK input >> CLICK input[last()] >> CLICK input[3] >> CLICK[3] input

Click first element then click the last element and finally two methods for selecting the same 3rd element.

2. GOTO redux-form.com/6.6.3/examples/simple/ >> type ['user1@x.com', 'user2@x.com'] IN input[@name="email"] >> CRAWL select/options

For each email address inputted, we try every options for it.

3. GOTO https://www.putty.org >> CLICK //tr[1]/td[2]/p[2]/a >> DOWNLOAD //div[1]/div[2]/span[2]

Clicks on a link that navigates to a different domain. We save the file to with the macro command wrapped around double underscrolls: __SAVE__.


How do I contact you?

Email support@scrape.it

Is there a free version?

Yes, just signup after npm i -g wslang and enjoy 1000 API Credits.

What is fully managed plan?

email support@scrape.it with the websites, data format, etc, and we'll create a crawler in WSL, run it, and have the data ready for export Its meant to be a email-and-forget deal, hence the extra price because human labor is involved.

I paid but I changed my mind!

Please email support@this domain within 30 days to get a full refund. If you are looking for just a one off crawl, you can make one payment of $99 USD via paypal.

Can I get some help?

Ask your questions on stackoverflow (I check it often) or email support@scrape.it.

What are API Call Credits?

Each web page downloaded by your crawler is 1 API Call Credit.

What happens when I run out of credits?

You need to upgrade to a larger plan.



- 1000 API Calls
- 1 Workers Per Job


- 50,000 API Calls
- 4 Workers Per Job


- 150,000 API Calls
- 8 Workers Per Job


- 500,000 API Calls
- 12 Workers Per Job

Fully Managed

Email-and-forget: we will run and manage the web crawls

- 1,500,000 API Calls
- 24 Workers Per Job

email: support@scrape.it
© Brilliant Code Inc. 1918 Boul Saint Régis, Dorval, Québec, Canada. Libérons l'information par la collaboration!