@@ -969,7 +969,7 @@ foreach my $content (@html_content) {
$title =~ s/^\s+//;
# Find the magnet URL
- my ($url) = $tr =~ /\<a\s+href=\"(magnet\:[^\"]+\")/i;
+ my ($url) = $tr =~ /\<a\s+href=\"(magnet\:[^\"]+)\"/i;
if (!defined($url) || length($url) < 1) {
if ($DEBUG) {
print STDERR "Skipping TR with no magnet URL\n";
@@ -10,6 +10,7 @@ DMX:
Time::HiRes
Other:
+ Capture::Tiny
URI::Encode
HTML::Strip
MP3::Tag
@@ -1,10 +0,0 @@
-//phantomjs save_page.js 'http://extratorrent.cc/search/?search=grand+tour+s01e06&new=1&x=0&y=0'
-
-var system = require('system');
-var page = require('webpage').create();
-page.open(system.args[1], function()
-{
- console.log(page.content);
- phantom.exit();
-});