ed2k.parse fails to parse link without trailing slash.
require('ed2k-link').parse('ed2k://|file|some_file.bin|1122334455|f7c055958cbfe75e66fe35c83710bef0|')
fails with:
Error: url:ed2k://|file|some_file.bin|1122334455|f7c055958cbfe75e66fe35c83710bef0| is not a ed2k link
This is format used by old ed2k_hash.exe and some other tools and, AFAIK, is accepted by pretty much every client starting from original and eMule. Maybe you should support it in .parse too.
ed2k.parse fails to parse link without trailing slash.
fails with:
This is format used by old ed2k_hash.exe and some other tools and, AFAIK, is accepted by pretty much every client starting from original and eMule. Maybe you should support it in .parse too.