mirror of https://github.com/yt-dlp/yt-dlp.git
[extractor/freesound] Workaround invalid URL in webpage (#6147)
Authored by: rebane2001 Closes #6146
This commit is contained in:
parent
7543c9c99b
commit
9cfdbcbf3f
|
@ -52,6 +52,7 @@ class FreesoundIE(InfoExtractor):
|
|||
tags_str = get_element_by_class('tags', webpage)
|
||||
tags = re.findall(r'<a[^>]+>([^<]+)', tags_str) if tags_str else None
|
||||
|
||||
audio_url = re.sub(r'^https?://freesound\.org(https?://)', r'\1', audio_url)
|
||||
audio_urls = [audio_url]
|
||||
|
||||
LQ_FORMAT = '-lq.mp3'
|
||||
|
|
Loading…
Reference in New Issue