diff --git a/twatch-lite b/twatch-lite index a20f76d..bd40300 100755 --- a/twatch-lite +++ b/twatch-lite @@ -126,9 +126,9 @@ sub process_feed { _log(debug => "Already seen before: $time"); next; } - my $text = ($feedconf->{lookup} eq 'title') - ? $entry->title - : $entry->content->body; + my $text = ($feedconf->{lookup} eq 'body') + ? $entry->content->body + : $entry->title; _log(info => "Processing: " . $entry->title); _log(debug => "Match text is: ". $text); foreach my $match (@{ $feedconf->{matches} }) { @@ -299,7 +299,7 @@ Lookup this field in RSS/ATOM entry for wanted keywords. Acceptable values: 'bod Type of link in RSS/ATOM entry. Possible values: * direct -- link points directly to torrent file (default) -* page -- link points to page with link to torrent file +* page -- link points to page with link to torrent file (not implemented yet) =head1 SEE ALSO