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

Web seeds (BEP_0019) #38

Open
tullebo opened this issue Apr 24, 2020 · 2 comments
Open

Web seeds (BEP_0019) #38

tullebo opened this issue Apr 24, 2020 · 2 comments

Comments

@tullebo
Copy link

tullebo commented Apr 24, 2020

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
Copy link
Owner

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
Copy link
Author

tullebo commented Apr 27, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants