Skip to content

Commit

Permalink
Merge pull request #364 from pzmarzly/fix-typos
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
mike442144 authored Oct 15, 2020
2 parents 4ccbcbb + b749803 commit e8a51d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Node Crawler is a great open source web scraping tool. However, there are a few
- [Get full path using jQuery Selector](#get-full-path-using-jquery-selector)

### Use Proxy with Crawler
Most large scale webscraping tasks requires us to perform countless amounts of access to a specific website. This could be higly risky using only one IP address since the website could permanately or temporarily block our IP address. Instead, we can use a proxy that gives us the freedom to access websites using multiple different IPs. **Below is an example of how to use a proxy with Crawler:**
Most large scale webscraping tasks requires us to perform countless amounts of access to a specific website. This could be very risky using only one IP address since the website could permanently or temporarily block our IP address. Instead, we can use a proxy that gives us the freedom to access websites using multiple different IPs. **Below is an example of how to use a proxy with Crawler:**
```javascript
const Crawler = require("crawler");

Expand All @@ -28,7 +28,7 @@ Crawler.queue({

### Download Images and Other Files
Some of our web scraping tasks involves downloading images or other file types, like grabbing images to train image recognition algorithms.
With crawler, a few settings will do the trick; simply set ```encoding``` and ```jQurey``` options to ```null``` and ```false``` respectively when queuing a task. **Below is an example of downloading images with Crawler:**
With crawler, a few settings will do the trick; simply set ```encoding``` and ```jQuery``` options to ```null``` and ```false``` respectively when queuing a task. **Below is an example of downloading images with Crawler:**
```javascript
const Crawler = require("crawler");
const fs = require("fs");
Expand Down
2 changes: 1 addition & 1 deletion lib/crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Crawler.prototype.init = function init (options) {
homogeneous: false
};

//return defaultOptions with overriden properties from options.
// return defaultOptions with overridden properties from options.
self.options = _.extend(defaultOptions, options);

// you can use jquery or jQuery
Expand Down

0 comments on commit e8a51d7

Please sign in to comment.