Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
A crawler based on Phantom. Allows discovery of dynamic content and supports custom scrapers.
A crawler based on PhantomJS. Allows discovery of dynamic content and supports custom scrapers. For all your ajaxy crawling & scraping needs.
<meta>
redirects.)npm install crawlkit --save
const CrawlKit = require('crawlkit');
const anchorFinder = require('crawlkit/finders/genericAnchors');
const crawler = new CrawlKit('http://your/page');
crawler.setFinder({
getRunnable: () => anchorFinder
});
crawler.crawl()
.then((results) => {
console.log(JSON.stringify(results, true, 2));
}, (err) => console.error(err));
Also, have a look at the samples.
See the API docs (published) or the docs on doclets.io (live).
CrawlKit uses debug for debugging purposes. In short, you can add DEBUG="*"
as an environment variable before starting your app to get all the logs. A more sane configuration is probably DEBUG="*:info,*:error,-crawlkit:pool*"
if your page is big.
Please contribute away :)
Please add tests for new functionality and adapt them for changes.
The commit messages need to follow the conventional changelog format so semantic-release picks the semver versions properly. It is probably easiest if you install commitizen via npm install -g commitizen
and commit your changes via git cz
.
FAQs
A crawler based on Phantom. Allows discovery of dynamic content and supports custom scrapers.
We found that crawlkit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.