Open
Description
What version of this package are you using?
"parse-torrent": "^11.0.17"
What operating system, Node.js, and npm version?
Win 10
Node v20.11.0
npm v10.5.2
What happened?
Unable to parse some torrent files
What did you expect to happen?
I want to know what is wrong with torrent meta file
Are you willing to submit a pull request to fix this bug?
Not currently
Following error is thrown:
Error
time: '11/7/2024, 10:55:10 am',
info: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (117)
at Function.from (node:buffer:324:9)
at arr2text (file:///.../tests/node_modules/uint8-util/_node.js:10:17)
at file:///.../tests/node_modules/parse-torrent/index.js:158:30
at Uint8Array.forEach (<anonymous>)
at file:///.../tests/node_modules/parse-torrent/index.js:157:12
at Array.forEach (<anonymous>)
at decodeTorrentFile (file:///.../tests/node_modules/parse-torrent/index.js:156:30)
at async parseTorrent (file:///.../tests/node_modules/parse-torrent/index.js:35:12)
code: 'ERR_INVALID_ARG_TYPE'
Here are multiple links to same torrent meta file:
https://uploadnow.io/f/9KMwb4J
https://fastupload.io/74d3976eaf5289bf
https://filebin.net/ha0z336qtj01vge8/37165be8db3ad9c6dd76647b3c6be3c4cf76feb7.torrent
This torrent meta file is opening without issue in utorrent and Qbittorrent
Metadata
Assignees
Labels
No labels