peerflixrb 4.0.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/exe/peerflixrb +3 -3
- data/lib/peerflixrb/version.rb +1 -1
- data/peerflixrb.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b12108444fba9470fa52ab51f28d5958338a98a
|
4
|
+
data.tar.gz: df72bd506b610e1f72a42f7b63c1ffdda5b61979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaa1e5f4c05bb7d84ff1cd45a3a13962d9fd328756769ad35676ea8a856fbc6bc7103427ebf6f18806bd9a903cc361d37b649f594bd1b93ba240f7c81ae5a089
|
7
|
+
data.tar.gz: d6cf7516fe36c24779fecccd092413a5da4bcc672921638e05e7a46f2ff7ecaea412e617b26dfe2a5c1fd459ff8afa2fa72524762e5a03dc19bc52368b4ac908
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Peerflixrb
|
4
4
|
|
5
|
-
Wrapper for [webtorrent-cli](https://github.com/feross/webtorrent-cli) with automatic search through [
|
5
|
+
Wrapper for [webtorrent-cli](https://github.com/feross/webtorrent-cli) with automatic search through [Extratorrent](https://extratorrent.cc), [YifySubtitles](http://www.yifysubtitles.com/) and [Addic7ed](http://www.addic7ed.com/) (with [gem addic7ed_downloader](https://github.com/iovis9/addic7ed_downloader)).
|
6
6
|
|
7
7
|
|
8
8
|
## Requirements
|
@@ -20,7 +20,7 @@ Install the gem:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
Pass a string with what you want to watch and it will search
|
23
|
+
Pass a string with what you want to watch and it will search Extratorrent with your query and present you with the first 5 results for you to choose. The file selected will then be sent to **webtorrent**. For **TV Shows** use the format S01E01.
|
24
24
|
|
25
25
|
$ peerflixrb Suits s05e12
|
26
26
|
$ peerflixrb The Godfather II
|
data/exe/peerflixrb
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w( .. lib ))
|
|
4
4
|
require 'optparse'
|
5
5
|
require 'peerflixrb'
|
6
6
|
require 'peerflixrb/commands'
|
7
|
-
require '
|
7
|
+
require 'extratorrent_search'
|
8
8
|
|
9
9
|
options = {
|
10
10
|
language: 'en',
|
@@ -90,7 +90,7 @@ begin
|
|
90
90
|
|
91
91
|
# Torrent Search
|
92
92
|
cli.say "Searching torrent for #{options[:search].blue}".yellow
|
93
|
-
torrent_search =
|
93
|
+
torrent_search = ExtratorrentSearch::Search.new(options[:search])
|
94
94
|
|
95
95
|
# Did it find results?
|
96
96
|
unless torrent_search.results_found?
|
@@ -102,7 +102,7 @@ begin
|
|
102
102
|
link, sub_file = commands.choose_video_and_subtitles(torrent_search, options)
|
103
103
|
|
104
104
|
# Webtorrent command build
|
105
|
-
command = "webtorrent '#{link.
|
105
|
+
command = "webtorrent '#{link.magnet_link}'"
|
106
106
|
command << " --subtitles \"#{sub_file}\"" if sub_file
|
107
107
|
command << " --#{options[:video_player]}" if options[:video_player]
|
108
108
|
|
data/lib/peerflixrb/version.rb
CHANGED
data/peerflixrb.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
22
|
spec.add_runtime_dependency 'addic7ed_downloader', '~> 1.0'
|
23
|
-
spec.add_runtime_dependency '
|
23
|
+
spec.add_runtime_dependency 'extratorrent_search', '~> 1.0'
|
24
24
|
spec.add_runtime_dependency 'nokogiri', '~> 1.6'
|
25
25
|
spec.add_runtime_dependency 'highline', '~> 1.7'
|
26
26
|
spec.add_runtime_dependency 'httparty', '~> 0.13'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peerflixrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Marchante
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addic7ed_downloader
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: extratorrent_search
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
255
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.6.
|
256
|
+
rubygems_version: 2.6.8
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: Wrapper for peerflix with automatic search through KickAss Torrents, Yifysubtitles
|