summaryrefslogtreecommitdiff
path: root/rhimport-fe
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-fe')
-rwxr-xr-xrhimport-fe1
1 files changed, 1 insertions, 0 deletions
diff --git a/rhimport-fe b/rhimport-fe
index 64d1aa5..c6fba81 100755
--- a/rhimport-fe
+++ b/rhimport-fe
@@ -114,6 +114,7 @@ my $out_file = "";
for my $entry ($feed->entries) {
if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") {
next unless $entry->enclosure->url =~ /$regexp/;
+ next unless $entry->enclosure->length >= (20*1024*1024);
my $sum_title = decode_entities($entry->title);
my $sum_text = decode_entities($entry->content->body);