summaryrefslogtreecommitdiff
path: root/rhimport-o94n
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-o94n')
-rwxr-xr-xrhimport-o94n6
1 files changed, 3 insertions, 3 deletions
diff --git a/rhimport-o94n b/rhimport-o94n
index 5a7ed2e..6299bc1 100755
--- a/rhimport-o94n
+++ b/rhimport-o94n
@@ -130,11 +130,11 @@ for my $entry ($feed->entries) {
next unless (uc($ff->output_file) =~ $bdfile); # file not from correct day
my $sum_title = decode_entities($entry->title);
+ $sum_title =~ s/\s*\(ganze sendung\)//i;
my $sum_text = decode_entities($entry->content->body);
- my $current_stat = `cat $STAT_FILE`;
- my ($current_id, $current_file) = $current_stat =~ m/^(.*)\n(.*)/;
- if($current_id eq $id && $current_file eq $ff->output_file) {
+ my $current_file = `cat $STAT_FILE`;
+ if($current_file eq $ff->output_file) {
print "Already downloaded file of today\n";
$dbh->disconnect();
exit 0;