dtorrent_parser 1.0.4
dtorrent_parser: ^1.0.4 copied to clipboard
A Dart library for parsing .torrent file to Torrent model/saving Torrent model to .torrent file.
A Dart library for parsing .torrent file to Torrent model/saving Torrent model to .torrent file.
Support #
- BEP 0005 DHT Protocol
- BEP 0012 Multitracker Metadata Extension
- BEP 0019 WebSeed - HTTP/FTP Seeding (GetRight style)
Usage #
A simple usage example:
Parse .torrent file #
import 'package:torrent_model/torrent_model.dart';
main() {
....
var model = Torrent.parse('some.torrent');
....
}
Use Torrent class' static method parse to get a torrent model. The important informations of .torrent file can be found in the torrent model , such as announces list , infoHash ,etc..
Features and bugs #
Please file feature requests and bugs at the issue tracker.