lib/download_tv/grabbers/tpb.rb in download_tv-2.6.6 vs lib/download_tv/grabbers/tpb.rb in download_tv-2.6.7
- old
+ new
@@ -12,10 +12,10 @@
def get_links(show)
search = format(@url, show)
# Skip the header
- data = @agent.get(search).search('#searchResult tr').drop 1
+ data = agent.get(search).search('#searchResult tr').drop 1
raise NoTorrentsError if data.empty?
# Second cell of each row contains links and name
results = data.map { |d| d.search('td')[1] }