-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Support RFC5854 metalink file output #20
Comments
Hi hofmand, Ah, I never heard of it. That would be something nice. I definitely want to check this out. Hopefully 'soon'. Thanks! Reference: https://en.wikipedia.org/wiki/Metalink |
I think this format would be an even better approach than #46, right? |
Right, aria2c actually supports metalink. Good spot. |
|
@Chaphasilor Spreading the news while it's happening! Hmm. So that is a blow for the support for it. |
I mean in all honesty anything related to ODs isn't really secure, but we should keep it in mind. |
Sadly support for it is already removed in curl and wget, so now there isn't any support anymore anywhere 🙃 |
Metalink files are XML files that provide more information than just the filename, such as file sizes, dates, and cryptographic hashes.
Aria2c
can read these files directly. You can add the statistics for an OpenDirectory in an XML comment at the top, consolidating the metadata and data into a single file.You might not want estimated file sizes in the file unless the user chooses
--exact-file-sizes
but again you can add the estimated file sizes as comments. When you get downloading working, you could calculate a hash and add that in to help someone else'saria2c
to verify their download, or even as a way to fingerprint your own files as a way to detect future file corruption.And XML files give you the ability to transform them into any format you want just by writing a stylesheet.
The text was updated successfully, but these errors were encountered: