juliensalinas / torrengo

Torrengo is a CLI (command line) program written in Go which concurrently searches torrents from various sources.
https://juliensalinas.com/en/golang-concurrent-torrent-scraper-cli-torrengo/
GNU General Public License v3.0
97 stars 15 forks source link

Use Go port of cfscrape #10

Closed yvgny closed 4 years ago

yvgny commented 4 years ago

On slower computers such as first version of Raspberry Pis, launching the Python or Node virtual machine takes a non-negligible amount of time. Here, the cfscrape Python module is replaced by a Go port (cfbypass).

This could greatly reduce the search time on some systems, and remove the Python and Node dependencies. As an example, the search time for an initial lookup on my Raspberry is almost halved (from ~5.5 seconds to ~3 seconds for the first search, and the next ones are nearly instant). Also, the code is now simpler.

What do you think ?

juliensalinas commented 4 years ago

Thanks @yvgny, I was not aware of this lib, let me test your solution right now!

juliensalinas commented 4 years ago

Excellent, it seems to be working like a charm. I'm so glad to have a pure Go solution now! Thanks again @yvgny