Do not capture podcasts when not available yet
This commit is contained in:
parent
5107afe309
commit
88b1b647ec
@ -63,7 +63,7 @@ foreach my $item (@{$rss->{'items'}}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Add items for each topic
|
# Add items for each topic
|
||||||
if ($item->{description} =~ /Podcasts des différents sujets abordés.+?<ul>(.+?)<\/ul>/s) {
|
if ($item->{description} =~ /Podcasts des différents sujets abordés(?:<\/strong><\/p>|<\/h2>)?\s*<ul>(.+?)<\/ul>/s) {
|
||||||
# Extract topics
|
# Extract topics
|
||||||
my $topics = $1;
|
my $topics = $1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user