Skip to main content

The fastest web crawler written in Rust ported to nodejs.

Project description

spider-py

The spider project ported to Python (Incomplete Port WIP).

Getting Started

  1. pip install spider_rs
import asyncio

from spider_rs import crawl

async def main():
    website = await crawl("https://choosealicense.com")
    print(website.links)
    # print(website.pages)

asyncio.run(main())

Development

Install maturin pipx install maturin and python.

  1. maturin develop

Todo

  1. Add thread safe callback handling crawl/scrape.
  2. Add callback Cron.
  3. Add subscription callback.

Once these items are done the base of the module should be complete. Most of the code comes from the initial port to Node.js that was done.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spider_rs-0.0.1.tar.gz (27.7 kB view hashes)

Uploaded Source

Built Distribution

spider_rs-0.0.1-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page