Page 1 of 1

Bulk import of torrent hashes

Posted: Fri Aug 11, 2023 7:08 pm
by throw151942
Hey folks, I have around 60000 torrent hashes in a file, and want to import all of them. Obviously using the UI is gonna take years, is there a way to do this faster?
Ideally I want to set up a cron job (or windows equivalent) to import only a few at a time (but not necessary, I can just set max torrents option, assuming that also limits metadata retrieval), is there a way to import them using a script?

Edit: latest version (more or less) of everything, windows 11, I'm fluent in python etc. so scripting isn't a problem.

Cheers ^-^

Re: Bulk import of torrent hashes

Posted: Tue Aug 15, 2023 10:10 am
by Peter
- One thing for sure, go into Advanced Settings and set "Resume data storage type" to SQLite experimental. For me, this was crucial for bulk torrent adds/management.
- About adding so many, hmm. I just set up auto add folder and dumped them all into the folder as .torrents.
- Also make sure to set up the auto-add-trackers from here: https://github.com/ngosang/trackerslist

If they are all magnets, I'd use some kind of python library or tool to just turn that 60k hash into 60k torrents first before doing anything.