Comments (5)
I agree, node-scraper
would be a more fitting name for this tool. Or is there an easy configuration to make it behave like an actual crawler?
from node-crawler.
Yes, "scraper" should be much better. But never mind, you may implement a spider by yourself based on this.
from node-crawler.
But never mind, you may implement a spider by yourself based on this.
how do you do this?
from node-crawler.
- Figure out the home page or entrance URL which is good to start;
- Send request to the URL(s);
- Parse the page content that you get from the response to get all the URLs you care about, which may be the same domain as the previous one;
- Save the page content to a file or Db whatever you want;
- Repeat from step 2 to end.
from node-crawler.
solved in #420
from node-crawler.
Related Issues (20)
- Detect Timeout Pages HOT 1
- How to skip URL with ECONNRESET or ETIMEDOUT errors HOT 3
- maybe a bug ? HOT 1
- Maintained? HOT 1
- Crash ERR_INVALID_URL on Redirect HOT 1
- Queue size goes up and doesn't crawl new pages
- No retry when status code 404 HOT 1
- How to use with await? HOT 3
- Iconv-lite warning: decode()-ing strings is deprecated. HOT 2
- I would like to report a security concern HOT 1
- Jquery not work if response body is buffer HOT 2
- node-crawler.org url hijacked HOT 4
- Security concern HOT 1
- the encoding declaration in @types/crawler HOT 1
- cannot get section node HOT 4
- HTTP Agent with keepAlive HOT 1
- queue method should be a promise HOT 3
- Limit queue size HOT 2
- Dependency vulnerabilities HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-crawler.