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

Parabolic downloads picture instead of an audio file #1030

Open
dodog opened this issue Jan 14, 2025 · 8 comments
Open

Parabolic downloads picture instead of an audio file #1030

dodog opened this issue Jan 14, 2025 · 8 comments
Labels
bug Something isn't working

Comments

@dodog
Copy link
Contributor

dodog commented Jan 14, 2025

Parabolic downloads picture instead of audio. I tried different urls, result is the same.

Steps to reproduce:

  1. Add youtube link
  2. Select mp3 audio
  3. Instead of audio file a jpg file is downloaded.

Log:
log.txt

Info:
`org.nickvision.tubeconverter
Linux
2025.1.0

Deployment Mode: Flatpak
Locale: sk_SK.UTF-8
Running From: "/app/lib/org.nickvision.tubeconverter"

yt-dlp version 2024.12.23
ffmpeg version 7.1
aria2 version 1.37.0

GTK 4.16.7
libadwaita 1.6.2
`

@David-DeZ
Copy link

This is also occurring when you bring down an MP4 from YouTube - the MP4 has no audio and there is a jpg.

@jgcanete
Copy link

Same problem, but from Youtube Music

Log last lines:

File "/app/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 4172, in urlopen
return self._request_director.send(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 117, in send
response = handler.send(request)
^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/yt_dlp/networking/_helper.py", line 208, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 340, in send
return self._send(request)
^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/yt_dlp/networking/_requests.py", line 365, in _send
raise HTTPError(res, redirect_loop=max_redirects_exceeded)

@linfindel
Copy link
Contributor

I'm not very familiar with how Parabolic works but it seems that it succeeds to download the album art but fails with HTTP 403 when downloading the actual audio file

[debug] Command-line config: ['https://www.youtube.com/watch?v=3vEiqil5d3Q', '--xff', 'default', '--no-warnings', '--progress', '--newline', '--progress-template', '[download] PROGRESS;%(progress.status)s;%(progress.downloaded_bytes)s;%(progress.total_bytes)s;%(progress.total_bytes_estimate)s;%(progress.speed)s', '--no-mtime', '--ffmpeg-location', '/app/bin/ffmpeg', '--force-overwrites', '--verbose', '--embed-metadata', '--embed-thumbnail', '--convert-thumbnails', 'jpg', '--postprocessor-args', 'ThumbnailsConvertor:-vf crop=ih:ih', '--extract-audio', '--audio-format', 'mp3', '--paths', '/run/user/1000/doc/3f527478/Pop', '--output', 'Notion.%(ext)s', '--output', 'chapter:%(section_number)03d - Notion.%(ext)s', '--postprocessor-args', '-threads 16', '--print', 'after_move:filepath']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [65cf46cdd] (pip)
[debug] Python 3.12.8 (CPython x86_64 64bit) - Linux-6.12.8-200.fc41.x86_64-x86_64-with-glibc2.40 (OpenSSL 3.3.2 3 Sep 2024, glibc 2.40)
[debug] exe versions: ffmpeg 7.1 (setts), ffprobe 7.1
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, mutagen-1.47.0, requests-2.32.3, sqlite3-3.46.1, urllib3-2.3.0, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1837 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=3vEiqil5d3Q
[youtube] 3vEiqil5d3Q: Downloading webpage
[youtube] 3vEiqil5d3Q: Downloading ios player API JSON
[youtube] 3vEiqil5d3Q: Downloading mweb player API JSON
[debug] [youtube] 3vEiqil5d3Q: ios client https formats require a PO Token which was not provided. They will be skipped as they may yield HTTP Error 403. You can manually pass a PO Token for this client with --extractor-args "youtube:po_token=ios+XXX. For more information, refer to  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#po-token-guide . To enable these broken formats anyway, pass --extractor-args "youtube:formats=missing_pot"
[debug] [youtube] Extracting signature function js_0b866fa6_110
[debug] Loading youtube-sigfuncs.js_0b866fa6_110 from cache
[debug] Loading youtube-nsig.0b866fa6 from cache
[debug] [youtube] Decrypted nsig 3AN5QeM2shkEAAkL => jd0Sk2qwmLR-sQ
[debug] [youtube] Extracting signature function js_0b866fa6_106
[debug] Loading youtube-sigfuncs.js_0b866fa6_106 from cache
[debug] Loading youtube-nsig.0b866fa6 from cache
[debug] [youtube] Decrypted nsig OnRw71tD6Tx4s7Hn => pZ1PDzzqMmjP9w
[youtube] 3vEiqil5d3Q: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] 3vEiqil5d3Q: Downloading 1 format(s): 251
[info] Downloading video thumbnail 42 ...
[info] Writing video thumbnail 42 to: /run/user/1000/doc/3f527478/Pop/Notion.webp
[ThumbnailsConvertor] Converting thumbnail "/run/user/1000/doc/3f527478/Pop/Notion.webp" to jpg
[debug] ffmpeg command line: /app/bin/ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i file:/run/user/1000/doc/3f527478/Pop/Notion.webp -update 1 -bsf:v mjpeg2jpeg -movflags +faststart -vf crop=ih:ih file:/run/user/1000/doc/3f527478/Pop/Notion.jpg
Deleting original file /run/user/1000/doc/3f527478/Pop/Notion.webp (pass -k to keep)
[debug] Invoking http downloader on "https://rr1---sn-u5a3u5a3-ajty.googlevideo.com/videoplayback?expire=1736903987&ei=07iGZ47YH_K_mLAP24zCgAY&ip=92.15.105.85&id=o-AK-DguYop1j3ROTcSPzwdgwooFLwVypcba2jb1g8s95A&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1736882387%2C&mh=xH&mm=31%2C29&mn=sn-u5a3u5a3-ajty%2Csn-aigzrn7s&ms=au%2Crdu&mv=m&mvi=1&pl=20&rms=au%2Cau&gcr=gb&initcwndbps=2365000&bui=AY2Et-NY2Sw1AbMdNT9thIYshrNy72881xP4krB2iEJWES42komEsESOfcldpJZyz5oeFougIBmwKAtV&spc=9kzgDeeV2gDv42sBG_Xp-lJGATtlc_Z4er0IT9p32HJn3fLDDDM-O5pK363eLt8&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=mu5IKyyDud5kiRzQdpg4u_IQ&rqh=1&gir=yes&clen=3081994&dur=195.141&lmt=1714440227423519&mt=1736881984&fvip=1&keepalive=yes&fexp=51326932%2C51331020%2C51335594%2C51353498%2C51371294&c=MWEB&sefc=1&txp=4532434&n=pZ1PDzzqMmjP9w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRAIgfrSPVC5WKUBwTkLrhhlfObuzU1I9Q6YnVHlEc4xr3WsCIFX-v2H25G-EAB3w4k2GxL8iC_EGJsLbw1tTwyxg3_Xm&sig=AJfQdSswRgIhAJw8HKfJPKZF6KZ6B3fmjsRWaw1v7bqnjX6pTPgVdnDYAiEAlDlOZytIk8DOCSLiucAqEKLRKsB79Twp-wchvmMNLwI%3D"
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/app/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 3489, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 3209, in dl
    return fd.download(name, new_info, subtitle)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/downloader/common.py", line 464, in download
    ret = self.real_download(filename, info_dict)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/downloader/http.py", line 367, in real_download
    establish_connection()
  File "/app/lib/python3.12/site-packages/yt_dlp/downloader/http.py", line 118, in establish_connection
    ctx.data = self.ydl.urlopen(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 4172, in urlopen
    return self._request_director.send(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 117, in send
    response = handler.send(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/networking/_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 340, in send
    return self._send(request)
           ^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/yt_dlp/networking/_requests.py", line 365, in _send
    raise HTTPError(res, redirect_loop=max_redirects_exceeded)
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

@nlogozzo
Copy link
Member

This is a known yt-dlp issue: yt-dlp/yt-dlp#11868

There is an update for yt-dlp that I can push to Parabolic that should fix some of the 403 errors. But the recommend fix it to upload a cookies file to Parabolic in Preferences. But this can result in google account ban.

Google is getting smarter and trying to break yt-dlp more and more every day.

@nlogozzo nlogozzo added the bug Something isn't working label Jan 14, 2025
@Louis2024ht
Copy link

chrome_2025-01-15_11-41-15
For me also, jpg only now, instead of mp3 or mp4, while everything was still working perfect 2 or 3 days ago. Btw, where do you get these error logs that are posted here ?

@jgcanete
Copy link

Hello Louis --->
" Btw, where do you get these error logs that are posted here ? "
I dont't know what's your parabolic version, but in your screenshot in Completed Tab I only can see "Retry" button , not "Show Log" button :((

@nlogozzo
Copy link
Member

@Louis2024ht is using the Qt Windows version of the app.

You can click on the download row itself and a log will appear on the bottom part of the app.

@nlogozzo
Copy link
Member

I will fix this issue today been reading on yt-dlp everyone is having issues :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants