A DHT crawler framework using asyncio.
Project description
A DHT crawler framework using asyncio.
Usage
from maga import Maga
import logging
logging.basicConfig(level=logging.INFO)
class Crawler(Maga):
async def handler(self, infohash):
logging.info(infohash)
crawler = Crawler()
crawler.run(6881)
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
Maga-1.0.0.zip
(6.1 kB
view details)
Built Distribution
File details
Details for the file Maga-1.0.0.zip
.
File metadata
- Download URL: Maga-1.0.0.zip
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d088e4fecbfc177b03d1cd7f59c64167f182af665e79571391e0541d80fc0068 |
|
MD5 | 19c7b5e41e94316be2bc2c207fbd27f2 |
|
BLAKE2b-256 | cb2302a072eb2400d420d71f4d453ae19e7f0811a88900c4092ae7d2ee02cd26 |
File details
Details for the file Maga-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: Maga-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 466897a17fd048ebd3cecff0f65725b58597ae2453eee8d4839514739a0a8f62 |
|
MD5 | 7eee19e13a722d81f78b13be952a1d25 |
|
BLAKE2b-256 | 3dfd7ac29023a67c9c5f6f2c531c8645820b14db8a548279a6be9ece77e8c361 |