frfac: loosen regex strictness on mp3 file name
This goes with the rfi's changes causing the change a couple commits back.
This commit is contained in:
parent
04b8b041da
commit
217d36215e
2
frfac.in
2
frfac.in
@ -43,7 +43,7 @@ my $latest_episode = pop @episode_links;
|
||||
my @mp3s;
|
||||
sub collect_mp3s {
|
||||
my ($uri, $uri_text) = @_;
|
||||
push @mp3s, $uri_text if $uri_text =~ /facile_\d+\.mp3$/;
|
||||
push @mp3s, $uri_text if $uri_text =~ /facile_\d+.*\d+\.mp3$/;
|
||||
}
|
||||
|
||||
$res = URI::Fetch->fetch($latest_episode) or die URI::Fetch->errstr;
|
||||
|
Loading…
Reference in New Issue
Block a user