Skip to main content

A DHT crawler framework using asyncio.

Project description

A DHT crawler framework using asyncio.


from maga import Maga

import logging

class Crawler(Maga):
    async def handler(self, infohash, addr):

# Or, if you want to have more control

class Crawler(Maga):
    async def handle_get_peers(self, infohash, addr):

    async def handle_announce_peer(self, infohash, addr):

crawler = Crawler()


Version 2.0.0

  • Add handle_get_peers, handle_announce_peer function.

  • Add addr param in handler

Project details

Download files

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

Source Distributions (6.5 kB view hashes)

Uploaded source

Maga-2.0.1.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

Maga-2.0.1-py2.py3-none-any.whl (4.4 kB view hashes)

Uploaded 3 5

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