Giter VIP home page Giter VIP logo

tors's Introduction

TorS

Licence Release Build Issues Pull Requests

Downloads

Yet another torrent searching application for your command line. But this has an option for automatically download the best torrent.

Installation

Add this line to your application's Gemfile:

gem 'tors'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tors

Usage

Open your terminal and run this command:

$ tors 'ubuntu'

It will list torrents ordered descending by seeder from katcr.

Wait! Why katcr?

Because katcr fastest provider for scrabing currently.

Is there another provider and how can I change it?

Yep, there is a few provider option.

Provider Status Problems
katcr -
rarbg Slow Connection, Threat defensing
thepiratebay Only Magnet
extratorrent Slow Connection
1337x Connection N+1
zooqle Skipping some torrents
zamunda Require authentication
torrentfunk ☑️ 🙈
limetorrents ☑️ 🙈

Use -p PROVIDER flag for scrape another providers.

$ tors 'ubuntu' -p thepiratebay

And then It will ask for which torrent you want to download? You can answer with a torrent number seen on list.

You can use -a or --auto-download flag for automatically download the best torrent. Example:

$ tors 'ubuntu' -p 1337x -a

You can use -d TARGET flag for set destination storage path. Example:

$ tors 'ubuntu' -d $HOME/Downloads -a

And you can list all active providers and usage instructions with -h or --help flag.

$ tors -h
usage: tors [options] SEARCH_STRING
    -d, --directory       Destination path for downloaded torrent
    -p, --provider        Provider name
    -u, --username        Username for authentication
    -w, --password        Password for authentication
    -l, --list-providers  List available providers
    -a, --auto-download   Auto download best choice
    -o, --open            Open torrent after downloading
    -h, --help            Print help
    -v, --version         Print version

See it in action

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/muratbsts/tors. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Contributors

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the TorS project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

tors's People

Contributors

eren avatar muhammetdilmac avatar murat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tors's Issues

torrent is not valid bencoding!

Everything works great, definitely the most reliable CLI torrent search engine but whenever I try to open the downloaded torrent file it gives me the above error. no matter which search engine. downloading the same torrent from the website does not result in an error. Not sure why this is happening. Any ideas? Thanks for creating this!

Remove Emojis From Code

Since this is a console application, not all of the consoles support emojis. Additionally, it's hard to developer with vim. I don't see any benefit of including emoji in the output of the application. It's better to colorise the output (such as errors, warnings, etc) rather than adding an emoji.

Turkish char. problem

Although I just want to list movie which includes Turkish characters, i get the error about ascii char.
screen shot 2017-09-02 at 15 58 42

Remove Auto "open" in Darwin

Originally posted as a comment but I believe this is an issue so I moved it here.

5b46eb7 introduced an open call for darwin platform automatically. That line needs to be reverted as this is an intrusive operation for the user. This is a torrent search utility and you do not expect it to automatically open the downloaded torrent file. There is a possibility that the user doesn't have a torrent client installed.

If you want to keep this feature, it needs to be an option which defaults to "not open" a torrent client.

Print Usage When No Argument is Given

TorS::Search is initialised and run even without any argument is passed. This leads to xpath element failure and the application prints please check this url.

Usage needs to be printed with better error handling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.