diff --git a/routes/sources.py b/routes/sources.py index 9f9453b..18a1125 100644 --- a/routes/sources.py +++ b/routes/sources.py @@ -290,7 +290,7 @@ def _generic_audio_page_source(url: str) -> dict: page_title = _plain_text(title.group(1)) if title else source_name seen = set() items = [] - for match in re.finditer(r"""(?:src|href)=["']([^"']+\.(?:mp3|wav|ogg|flac|m4a|aac)(?:[^"']*)?)["']""", body, re.I): + for match in re.finditer(r"""(?:src|href)=["']([^"']+\.(?:mp3|wav|ogg|flac|m4a|aac)[^"']*)["']""", body, re.I): audio_url = urljoin(url, unescape(match.group(1))) if audio_url in seen: continue