summaryrefslogtreecommitdiff
path: root/rhimport-dn
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-dn')
-rwxr-xr-xrhimport-dn2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport-dn b/rhimport-dn
index d155eb2..ccb774d 100755
--- a/rhimport-dn
+++ b/rhimport-dn
@@ -101,7 +101,7 @@ my $file = "";
my $out_file = "";
for my $entry ($files_feed->entries) {
if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") {
- if($entry->id =~ /^dn([0-9-]+)-static$/) {
+ if($entry->enclosure->url =~ /^http:\/\/distro.democracynow.org\/dn([0-9-]+)-1\.mp3$/) {
next if($yc ne $1);
my $ff = File::Fetch->new(uri => $entry->enclosure->url);