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

All videos suddenly error. #624

Open
got-bass opened this issue Jan 15, 2025 · 12 comments
Open

All videos suddenly error. #624

got-bass opened this issue Jan 15, 2025 · 12 comments

Comments

@got-bass
Copy link

Hello,

Suddenly every video in my playlist will no longer move into the download folder, they download but stay in the cache folder.

I get the "expected out file does not exist".
I check the log and can see this additional error: "ERROR: unable to download video data: HTTP Error 403: Forbidden".

I have tried changing formats and resolutions. This does not fix it. I can watch youtube with no problem.

The videos do appear to be downloaded, but they just remain in the cache folder. To my knowledge i have not changed anything to cause this error.

@meeb
Copy link
Owner

meeb commented Jan 15, 2025

This isn't an issue with tubesync or yt-dlp, this is your download is being blocked or denied by YouTube. The videos aren't downloaded, just the initial cache files would be created but they're mostly likely empty.

Make sure you're running the latest build of tubesync, make sure you've only set the workers to 1 (the default, so if you've changed this put them back to 1) and you can either wait an unknown amount of time or try changing your IP address or VPN endpoint.

If you're using cookies, try not using cookies.

Basically it's YouTube saying no to yt-dlp which can be any number of reasons. Most likely an outdated version of yt-dlp or your IP has been blocked.

@got-bass
Copy link
Author

Hi Meeb, thank you for the quick reply.
So my IP seems fine for browsing youtube, no VPN. The videos are also downloading, i can play them from the cache folder successfully and they seem to be full size.

Workers has always been default.
No cookies.
TubeSync 0.13.7

I then deleted the container/docker and started fresh. Same issue, all videos download in cache. But never move to the tubesync-downloads folder.

Is there a way to update yt-dlp? This seems like a likely cause.

@meeb
Copy link
Owner

meeb commented Jan 15, 2025

Are you using the :latest tagged container? That contains an up to date version of yt-dlp.

@got-bass
Copy link
Author

image

Yes, latest as above.

@meeb
Copy link
Owner

meeb commented Jan 15, 2025

Drop into the container with

$ docker exec -ti tubesync bash

Switch to the downloads directory

$ cd /downloads

And try running yt-dlp directly

$ yt-dlp https://youtube.com/watch?v=whateversomevideo

if that errors paste the full error in here.

@spiralham
Copy link

spiralham commented Jan 15, 2025

I'm getting the same thing but the files in cache are unplayable. Based on the partial download running the test command, I assume I'm being blocked...

# yt-dlp https://www.youtube.com/watch?v=I-eM17uEnqI
[youtube] Extracting URL: https://www.youtube.com/watch?v=I-eM17uEnqI
[youtube] I-eM17uEnqI: Downloading webpage
[youtube] I-eM17uEnqI: Downloading ios player API JSON
[youtube] I-eM17uEnqI: Downloading mweb player API JSON
[youtube] I-eM17uEnqI: Downloading player 6e1dd460
[youtube] I-eM17uEnqI: Downloading m3u8 information
[info] I-eM17uEnqI: Downloading 1 format(s): 315+251
[download] Destination: I Became Animals and I Just Dont Care... [I-eM17uEnqI].f315.webm
[download]   0.8% of    9.81GiB at   56.88MiB/s ETA 02:55ERROR: unable to download video data: HTTP Error 403: Forbidden
# 

@mikeyounge
Copy link

I'm seeing the same issue only in the last 2 days. I ran your commands both inside of a VPN and outside and I receive the same error

[youtube] Extracting URL: https://www.youtube.com/watch?v=gu3H58R1l2M [youtube] gu3H58R1l2M: Downloading webpage [youtube] gu3H58R1l2M: Downloading ios player API JSON [youtube] gu3H58R1l2M: Downloading mweb player API JSON [youtube] gu3H58R1l2M: Downloading player 6e1dd460 [youtube] gu3H58R1l2M: Downloading m3u8 information [info] Testing format 616 [info] gu3H58R1l2M: Downloading 1 format(s): 616+251 [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 808 [download] Destination: One Of The Best Constructed Puzzles We've Ever Seen [gu3H58R1l2M].f616.mp4 [download] 100% of 400.00MiB in 00:02:33 at 2.61MiB/s ERROR: unable to download video data: HTTP Error 403: Forbidden

Files are complete and playable with the "f###.mp4" extension, but remain in the cache folder.

@mikeyounge
Copy link

I consistently update my containers on Sundays, so I didn't see that I was using an old yt-dlp version. The error occurred on version 2024.12.23, but not on 2025.1.12. Updating worked for me to solve the issue

@spiralham
Copy link

2025.1.12 fixed my issue as well. @meeb Any way of being notified whenever there's an image update available? I usually subscribe to github releases but it doesn't look like you use those for all updates.

@tcely
Copy link
Contributor

tcely commented Jan 16, 2025

Subscribing to yt-dlp might help you keep up-to-date.

@spiralham
Copy link

Subscribing to yt-dlp might help you keep up-to-date.

Not a bad idea but unless tubesync is automatically updated when yt-dlp is there's still a disconnect. BUT at least it's an indicator of when I should start trying to update tubesync so I'll take it.

@meeb
Copy link
Owner

meeb commented Jan 17, 2025

tubesync is updated pretty frequently and yt-dlp is updated every time the container is built. It's not usually something you need to worry about providing you pull :latest daily.

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

No branches or pull requests

5 participants