gaffner / pybittorrent Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Happens when receiving piece
I have dug through the code and cannot work out why there is a 200 limit on peer returns?
2024-01-06 22:52:39.226 INFO UDPTracker - get_peers: success in scraping ***** got 200 peers?
Currently there is no handle for directory download
Support static typing for the ALL project.
then, add mypy linter to the CI/CD, and make sure the reuslt is PASS.
Provide more elegant code, and easier way to the 'select' function and socket-related functions in the Peer implementation.
It's take too much time right now
compact: Setting this to 1 indicates that the client accepts a compact response. The peers list is replaced by a peers string with 6 bytes per peer. The first four bytes are the host (in network byte order), the last two bytes are the port (again in network byte order). It should be noted that some trackers only support compact responses (for saving bandwidth) and either refuse requests without "compact=1" or simply send a compact response unless the request contains "compact=0" (in which case they will refuse the request.)
This is the requested idea for the slowness of the program.
Will require to change the all architecture of the project to by Async.
When the file data is over, the program split it to the files according to the torrent file.
Currently it using the 'read' and 'write' functions, which make the program be heavy ram consumer at large torrent files.
Need to find a way to copy specific bytes of a file without actually read them, something like the 'dd' command, but his parallel in python.
Remember it's the only piece with different size
currently we just sending request like a blind program that don't aware it already HAVE the piece in it's buffer.
the qbittorrent have weird implemntation.. sending not full bitfeild, and then "have". must handle it to accept qbittorrent as a seeder (so far i am only using deluge)
Too many if's... iuo.
Should be in the TorrentClient init
Why is the file not being downloaded from the torrent file? Windows 10
Currently we are checking if the request succeeded using only length that is bigger then 20, and error messages bigger then 20 can lead to false positive TrackerAnnounce.
It should not be there...
It's mean the program should bind for a port, and wait for requests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.