Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freesound - "Unable to extract song url" #9887

Open
10 of 11 tasks
atom-smasher opened this issue May 8, 2024 · 1 comment
Open
10 of 11 tasks

Freesound - "Unable to extract song url" #9887

atom-smasher opened this issue May 8, 2024 · 1 comment
Labels
site-bug Issue with a specific website

Comments

@atom-smasher
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

No response

Provide a description that is worded well enough to be understood

Just getting an error - "Unable to extract song url"

Command:

yt-dlp --ignore-config -vU https://freesound.org/people/Sami_Hiltunen/sounds/703362/

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['--ignore-config', '-vU', 'https://freesound.org/people/Sami_Hiltunen/sounds/703362/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version master@2024.05.05.231549 from yt-dlp/yt-dlp-master-builds [5904853ae] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-105-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Extractor Plugins: Youtube_AgeGateBypassIE
[debug] Loaded 1811 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version: master@2024.05.05.231549 from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date (master@2024.05.05.231549 from yt-dlp/yt-dlp-master-builds)
[Freesound] Extracting URL: https://freesound.org/people/Sami_Hiltunen/sounds/703362/
[Freesound] 703362: Downloading webpage
ERROR: [Freesound] 703362: Unable to extract song url; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/atom/bin/yt-dlp/yt_dlp/extractor/common.py", line 734, in extract
    ie_result = self._real_extract(url)
  File "/home/atom/bin/yt-dlp/yt_dlp/extractor/freesound.py", line 34, in _real_extract
    audio_url = self._og_search_property('audio', webpage, 'song url')
  File "/home/atom/bin/yt-dlp/yt_dlp/extractor/common.py", line 1449, in _og_search_property
    escaped = self._search_regex(og_regexes, html, name, flags=re.DOTALL, **kargs)
  File "/home/atom/bin/yt-dlp/yt_dlp/extractor/common.py", line 1321, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
@atom-smasher atom-smasher added site-bug Issue with a specific website triage Untriaged issue labels May 8, 2024
@dirkf
Copy link
Contributor

dirkf commented May 9, 2024

This site has changed its page structure and the extractor code needs to be revised. A forthcoming upstream PR will address this.

@bashonly bashonly removed the triage Untriaged issue label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

3 participants