Sha256: f55633c95c80c8ddc412118dec1f2a503688d4b318c2cc784b5ec592a8c20e20

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

# HailHydra

<img src="logo.jpg"></img><brs>

HailHydra is an unofficial pseudo-API for ThePirateBay.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'hail_hydra'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install hail_hydra

## Usage

From the command line:
```
$ thepiratebay totallynotillegal
```

From code
```ruby
s = HailHydra::TPB.new("https://thepiratebay.org")

res = s.search('totallynotillegal')
res.each do |torrent|
    puts torrent.name + " " + torrent.url
end

```

## Future releases
1. Scrape more info about the torrents
2. Add functionality to allow uploading torrents
3. Add user auth?
4. Add ability to comment

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Gr3atWh173/hail_hydra. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the HailHydra project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Gr3atWh173/hail_hydra/blob/master/CODE_OF_CONDUCT.md).

## DISCLAIMER
Neither this project or its author are related to ThePirateBay in any way.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hail_hydra-0.2.3 README.md
hail_hydra-0.2.2 README.md
hail_hydra-0.2.1 README.md
hail_hydra-0.2.0 README.md