Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Append predefined trackers from tracker list in Torrent/Magnet Downloads to speed things up #76

Closed
rokibhasansagar opened this issue Jun 9, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@rokibhasansagar
Copy link

To put this simply,
when a user provides a magnet link with 3/4 trackers, the files are downloaded slowly.

But if the user would supply more live trackers appended onto the magnet link, the download would be faster as more tracker means more active peers connected.

Any BitTorrent client GUI can add separate trackers manually, and Aria2 can also load extra trackers through an extra tracker list file.

Maybe same result can be achieved through qbittorrent(-nox) api.

I don't know how to, but it can surely be done.

@yash-dk yash-dk added the enhancement New feature or request label Jun 10, 2021
@noobalphamax
Copy link

Yes, same suggestion. In the desktop client adding extra set of trackers and updating list enhances the speed and was very much useful for some slow torrents which are sometimes the only source available. This feature request will be a better thing to implement.

Hats off to your wonderful work, integrating maximum things.

@rokibhasansagar
Copy link
Author

I see it's not exactly implemented in "Alpha" till I'm writing this.

I got a guide on How to implement it, but you know better about How to code this.

There's a reference about adding extra trackers once a torrent is loaded through qbittorrentapi.torrents.TorrentsAPIMixIn class in "qbittorrent-api" pip package.

torrents_add_trackers(torrent_hash=None, urls=None, **kwargs)

You can read it here:
https://qbittorrent-api.readthedocs.io/en/latest/apidoc/torrents.html#qbittorrentapi.torrents.TorrentsAPIMixIn.torrents_add_trackers

And the extra torrent tracker parameter, namely urls might be in tracker01&tr=tracker02&tr=tracker03 format, I don't know for sure.

There are two frequently updated (two newline delimited) tracker list available to use here (after proper single-line formatting).

https://ngosang.github.io/trackerslist/trackers_best.txt
https://newtrackon.com/api/stable

I'm hoping to see this feature properly added when all the bug-fix are done in next stable release.
😃

@afjal-sharif
Copy link

afjal-sharif commented Aug 26, 2021 via email

@rokibhasansagar
Copy link
Author

Its already added on slam mirror bot....

I know, man!
As TTK downloads Torrents, this feature is crucial for faster downloads.
Otherwise, users will use same old Mirror-Bots 😞

@afjal-sharif
Copy link

afjal-sharif commented Aug 26, 2021 via email

@yash-dk
Copy link
Owner

yash-dk commented Sep 9, 2021

Support for custom trackers is added you can change the source of the trackers from ExecVars if you wish to and Enable/Disable adding custom trackers.

@yash-dk yash-dk closed this as completed Sep 9, 2021
yashoswalyo added a commit to yashoswalyo/TorToolkitX that referenced this issue Nov 7, 2021
* Addition fixed from yash-dk#91

* Add custom tracker support from URL TRACKER_SOURCE var.. yash-dk#76

* for fixing yash-dk#86 (yash-dk#105)

* Fixes the file cleanup for rclone and tg up

* Alter the direct link gen format

* Change some stuff in Direct Link Generator

* Use Rar for splitting with USE_RAR_SPLIT var yash-dk#85

* Ignore abs path for rar

* Added sas zip support

* add support for loading SA accounts from zip in settings

* Fix the extract archive error

* Local extract and fix stuff in rclone upload

* ..

* Update deploy.yml

* Update deploy.yml

* Update deploy.yml

* Adding to RAR fixed

* Add the FORCE_SPLIT_UPLOAD and finalize USE_RAR_SPLIT

* Added /cleardata

* Remove the saftey margin in zipping

* Fix Handling some https cloudflare traffic error

* Add both formats to /leech reply and no reply

* created del directories

* Kangershub

Co-authored-by: YashDK <[email protected]>
Co-authored-by: Amirul Islam <[email protected]>
Co-authored-by: Shrimadhav U K <[email protected]>
Co-authored-by: nikhilesh-claysol <[email protected]>
Co-authored-by: Amirul Islam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants