Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

github.com/foxwhite25/megacrawler

Package Overview
Dependencies
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/foxwhite25/megacrawler

Source
Go Modules
Version
v1.1.2
Version published
Created
Source

Purpose

MegaCrawler is a scrapper that is based on colly, and updates information in database periodically.

Feature

  • Service powered auto restart, can also run in clt.
  • Log to service.
  • Host a webserver on service.
  • Built in webclient on clt to run task and check task at runtime.

Example

In this scrapper it is intended to built plugins and do an empty import on them. Using init() to register website.

Then use megaCrawler.Start() to launch the crawler.

When the crawler is listening, you can use these flag to check or change the service:

  • --start string Launch the selected website now.
  • --get string Get the status of the selected website.
  • --list List all current registered websites.

Note: megaCrawler.Start() is a blocking call.

FAQs

Package last updated on 01 Sep 2022

Did you know?

Socket

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.

Install

Related posts