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

Make the announce info field optional #97

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

anacrolix
Copy link
Contributor

BEP 3 makes it seem like announce isn't optional, but in practice it is. This relaxes the constraint and makes a whole bunch of torrents that it borked on work.

I wasn't sure about the fallback with http://retracker.local/announce, I'm guessing that's not necessary if announce can now be optional.

I noticed Either is imported, but referred to in that part of the code with its full path. I left it alone, I think it's more readable knowing it's from itertools.

@ikatson
Copy link
Owner

ikatson commented Mar 24, 2024

Looks good, thanks!

@ikatson ikatson merged commit 24feb60 into ikatson:main Mar 24, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants