lib/download_tv/grabbers/tpb.rb in download_tv-2.3.0 vs lib/download_tv/grabbers/tpb.rb in download_tv-2.4.0
- old
+ new
@@ -1,10 +1,10 @@
module DownloadTV
##
# ThePirateBay grabber
class ThePirateBay < LinkGrabber
- def initialize(tpb_proxy = 'https://thepiratebay.cr')
- proxy = tpb_proxy.gsub(%r{/+$}, '') || 'https://thepiratebay.cr'
+ def initialize(tpb_proxy = 'https://pirateproxy.sh/')
+ proxy = tpb_proxy.gsub(%r{/+$}, '')
super("#{proxy}/search/%s/0/7/0")
end
def get_links(s)