GerryFerdinandus / bittorrent-tracker-editor

Software for add or remove tracker from torrent files.
MIT License
499 stars 65 forks source link

Web seeds (BEP_0019) #38

Open tullebo opened 4 years ago

tullebo commented 4 years ago

Web seeds use the url-list key to store webseed URLs separately from trackers.

See BEP_0019: https://www.bittorrent.org/beps/bep_0019.html

https://blog.thelifeofkenneth.com/2019/09/adding-webseed-urls-to-torrent-files.html

Thanks for all your work on the project.

GerryFerdinandus commented 4 years ago

BEP_0019 Url list is unique item property for each unique torrent file. Where it can download this files directly via http/ftp server This unique url-list must therefore be added at initial torrent creation process.

The only update function that can be implemented here for BEP_0019 here is ‘find and replace url’ If the file download http/ftp url is dead then it must be replace by a new working url.

Example: a text file that instruct which url must be automatic replace, ‘url-list_find_and_replace.txt’

http://old1.com/=>http://new1.com/
http://old2.com/readme.txt=>http://new2.com/readme.txt
tullebo commented 4 years ago

Thanks for your reply.

I believe https://sites.google.com/site/ultimasites/bencode-editor can perform the url-list addition without changing the hash or re-creating the torrent.

edit: Re-testing it confirms that the hash remains the same after modifying the web seed url-list, and that peer DHT connections can be made to the original hash.