download_tv 2.9.2 → 2.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f0cca5d2bc54450e34f7ab30a9cb79abe1019929e19ac3ce7465ad7c2248f7d
4
- data.tar.gz: eba05f15716ea83c3c1c5f7671054018c4e4b693e9fcf4f58e8e516d9591d51b
3
+ metadata.gz: a13f9bf7aae9a08591b947af1071eed6ad50687b37cb85f4d4ebbc46307bb8cb
4
+ data.tar.gz: 11654c9fd13e6e59d3c9bfa55484ef7f0967e4f7141b36fbdc0b8375c1e0e30a
5
5
  SHA512:
6
- metadata.gz: b40a876f14b73d29e5d94d50efd4c634fa39fb2cf1eb6fd684496f1fb3b57f29ecbaeda0e19e309a3346dbd44202c576a5963b698af09f9313b7805208fc926c
7
- data.tar.gz: 217c3a359d809439a63d5288cd414c48bd3032956f48595f1d657e48923c4524b7b3b157d8d0a9f4c117192be3cc4d2134d905261b19436af8c9acb4bd5b406a
6
+ metadata.gz: 7f816ce659da37db0fe32b0b937007ef6dc2320a3d3863a49529940f4696838f6c5d4b745ea03afa44b62e65c5eba0962c074e0ca6fd46b0948f4df1b9187408
7
+ data.tar.gz: d94fbc3d1713bd808a69be6ccdbf4cea3e482c2b9cd73295a957e8ef199a2532083262c17aaa188dedd72b618509d3555cb73e568a490283c81aeb560d479cf3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Next (unreleased)
4
4
 
5
+ ## 2.9.4 (2025-08-14)
6
+
7
+ * Grabbers
8
+ * ThePirateBay: disabled (previous proxy was getting shady)
9
+ * ThePirateBayAPI: re-added and enabled
10
+
11
+ ## 2.9.3 (2025-04-20)
12
+
13
+ * Grabbers
14
+ * ThePirateBay: fix error
15
+
5
16
  ## 2.9.2 (2025-03-14)
6
17
 
7
18
  * Grabbers
data/README.md CHANGED
@@ -70,7 +70,7 @@ The `-f` flag can be used to read the list of episodes to download from a file.
70
70
 
71
71
  ### Available link grabbers
72
72
 
73
- With `-g` and `--show-grabbers`, the user can see what grabbers are available and choose one of these as their preferred option. By default, the application searches for torrents using ThePirateBay. When a grabber doesn't have a torrent for said episode, is offline, or causes any error to appear, it skips to the next grabber until exhausting the list.
73
+ With `--show-grabbers`, the user can see what grabbers are available. They will be used in the order they are listed in. The user may override the default with the `-g` option. When a grabber doesn't have a torrent for said episode, is offline, or causes any error to appear, it skips to the next grabber until exhausting the list.
74
74
 
75
75
  I usually publish a patch update to the gem when I detect one of them isn't working, disabling it or fixing it altogether. If a specific grabber is giving you problems, check whether you're running the latest version of the gem before opening an issue here.
76
76
 
@@ -4,7 +4,7 @@ module DownloadTV
4
4
  ##
5
5
  # ThePirateBay grabber
6
6
  class ThePirateBay < LinkGrabber
7
- def initialize(tpb_proxy = 'https://tpirbay.site/')
7
+ def initialize(tpb_proxy = 'https://tpb.re/')
8
8
  proxy = tpb_proxy.gsub(%r{/+$}, '')
9
9
 
10
10
  super("#{proxy}/search/%s/0/7/0")
@@ -21,8 +21,8 @@ module DownloadTV
21
21
  # Second cell of each row contains links and name
22
22
  results = data.map { |d| d.search('td')[1] }
23
23
 
24
- names = results.collect { |i| i.search('.detName').text.strip }
25
- links = results.collect { |i| i.search('a')[1].attribute('href').text }
24
+ names = results.compact.collect { |i| i.search('.detName').text.strip }
25
+ links = results.compact.collect { |i| i.search('a')[1].attribute('href').text }
26
26
 
27
27
  names.zip(links)
28
28
  end
@@ -16,7 +16,7 @@ module DownloadTV
16
16
  ]
17
17
 
18
18
  def initialize
19
- super("https://tpb36.ukpass.co/apibay/q.php?q=%s&cat=")
19
+ super("https://apibay.org/q.php?q=%s&cat=")
20
20
  end
21
21
 
22
22
  def get_links(show)
@@ -6,7 +6,7 @@ module DownloadTV
6
6
  class Torrent
7
7
  class << self
8
8
  def grabbers
9
- %w[ThePirateBay Eztv]
9
+ %w[ThePirateBayAPI Eztv]
10
10
  end
11
11
 
12
12
  def healthcheck
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DownloadTV
4
- VERSION = '2.9.2'
4
+ VERSION = '2.9.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: download_tv
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.2
4
+ version: 2.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - guille
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-03-14 00:00:00.000000000 Z
10
+ date: 2025-08-14 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -108,8 +107,6 @@ dependencies:
108
107
  - - ">="
109
108
  - !ruby/object:Gem::Version
110
109
  version: '0'
111
- description:
112
- email:
113
110
  executables:
114
111
  - tv
115
112
  extensions: []
@@ -151,7 +148,6 @@ homepage: https://github.com/guille/download_tv
151
148
  licenses:
152
149
  - MIT
153
150
  metadata: {}
154
- post_install_message:
155
151
  rdoc_options: []
156
152
  require_paths:
157
153
  - lib
@@ -166,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
162
  - !ruby/object:Gem::Version
167
163
  version: '0'
168
164
  requirements: []
169
- rubygems_version: 3.5.3
170
- signing_key:
165
+ rubygems_version: 3.6.2
171
166
  specification_version: 4
172
167
  summary: DownloadTV is a tool that allows the user to find magnet links for tv show
173
168
  episodes. It accepts shows as arguments, from a file or it can integrate with your