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

python errors while downloading youtube vid #22479

Closed
victordesfe opened this issue Sep 22, 2019 · 2 comments
Closed

python errors while downloading youtube vid #22479

victordesfe opened this issue Sep 22, 2019 · 2 comments
Labels

Comments

@victordesfe
Copy link

@victordesfe victordesfe commented Sep 22, 2019

Checklist

  • [x ] I'm reporting a broken site support issue
  • [ x] I've verified that I'm running youtube-dl version 2019.09.12.1
  • [ x] I've checked that all provided URLs are alive and playable in a browser
  • [ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio[ext=opus]', '--extract-audio', '--a
udio-quality', '192', '--audio-format', 'mp3', '--batch-file', 'download.txt', '
-v']
[debug] Batch file urls: ['https://www.youtube.com/watch?v=Pxj3wGj-SdM']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.4
[debug] Proxy map: {}
[youtube] Pxj3wGj-SdM: Downloading webpage
[youtube] Pxj3wGj-SdM: Downloading video info webpage
[youtube] {18} signature length 104, html5 player vfleGIwAA
[youtube] {136} signature length 108, html5 player vfleGIwAA
[youtube] {247} signature length 108, html5 player vfleGIwAA
[youtube] {135} signature length 108, html5 player vfleGIwAA
[youtube] {244} signature length 104, html5 player vfleGIwAA
[youtube] {134} signature length 108, html5 player vfleGIwAA
[youtube] {243} signature length 108, html5 player vfleGIwAA
[youtube] {133} signature length 108, html5 player vfleGIwAA
[youtube] {242} signature length 104, html5 player vfleGIwAA
[youtube] {160} signature length 108, html5 player vfleGIwAA
[youtube] {278} signature length 104, html5 player vfleGIwAA
[youtube] {140} signature length 108, html5 player vfleGIwAA
[youtube] {249} signature length 104, html5 player vfleGIwAA
[youtube] {250} signature length 108, html5 player vfleGIwAA
[youtube] {251} signature length 108, html5 player vfleGIwAA
ERROR: requested format not available
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\YoutubeDL.py", line 807, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\YoutubeDL.py", line 861, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs
4t\build\youtube_dl\YoutubeDL.py", line 1634, in process_video_result
youtube_dl.utils.ExtractorError: requested format not available

Presione una tecla para continuar . . .

Description

Hi i wanted to donwload audio only of a youtube song, but python errors show up for unknown reason. here's the argument i used;
youtube-dl.exe -f "bestaudio[ext=opus]" --extract-audio --audio-quality 192 --audio-format mp3 --batch-file "download.txt" -v

download txt has only one line:
https://www.youtube.com/watch?v=Pxj3wGj-SdM

thanks in advance

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 22, 2019

Error message clearly tells you there is no bestaudio with ext == opus.

@dstftw dstftw closed this Sep 22, 2019
@dstftw dstftw added the invalid label Sep 22, 2019
@victordesfe
Copy link
Author

@victordesfe victordesfe commented Sep 22, 2019

what extension does opus audio uses? i thought it was .opus, as it says on wikipedia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.