marcopeocchi / yt-dlp-web-ui

A terrible web ui for yt-dlp. Designed to be self-hosted.
Mozilla Public License 2.0
657 stars 67 forks source link

Some YouTube videos do not show download progress in the web UI. #135

Closed YamatoRyou closed 1 month ago

YamatoRyou commented 4 months ago

Version: 3.0.5 (Docker)

Here's a example https://www.youtube.com/watch?v=tUFJPUQb7NA *This video has a maximum resolution of 76804320.**

Importing the above link in the Web UI does not have any visual feedback (including download progress), but by observing the container log you can find that it is already in the downloading state. {47FC60D8-F5C1-E414-2BA3-F11106DC2CF4}

eslym commented 3 months ago

it also happens on a 8 hours long 1080p video, file size might be the reason

marcopeocchi commented 3 months ago

@YamatoRyou could you retest it with the version 3.0.6?

YamatoRyou commented 3 months ago

@YamatoRyou could you retest it with the version 3.0.6?

Still invisible (as of this test, the Docker image labeled "latest" was last updated about 2 hours ago). {99B3D3D6-9822-8509-68BA-E2BF1E4E4771}

marcopeocchi commented 2 months ago

Hello!

It seems an issue from yt-dlp itself. Every 8k video I've tried results in this.

yt-dlp version: v2024.04.09

marco@Mac-mini-di-Marco ~ % yt-dlp -J "https://www.youtube.com/watch?v=tUFJPUQb7NA"
WARNING: [youtube] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x108497d10>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known)
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084c5610>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (1/3)...
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084c5c40>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (2/3)...
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084c6e10>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (3/3)...
WARNING: [youtube] Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x1084c7bf0>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x1084c7bf0>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known)"))
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084dc230>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (1/3)...
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084c6a50>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (2/3)...
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084dcb90>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (3/3)...
WARNING: [youtube] Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x1084c6960>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x1084c6960>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known)"))
WARNING: [youtube] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x1084c7c50>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known)
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084c4a40>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (1/3)...
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x1084974a0>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (2/3)...
WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x108496570>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known). Retrying (3/3)...
WARNING: [youtube] Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x1084c5940>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x1084c5940>: Failed to resolve 'www.youtube.com' ([Errno 8] nodename nor servname provided, or not known)"))
ERROR: [youtube] tUFJPUQb7NA: Failed to extract any player response; 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
null
eslym commented 2 months ago

isn't that dns problem?

marcopeocchi commented 2 months ago

you're right. I'm changing dns

edit: changing dns solved the problem

marcopeocchi commented 2 months ago

Ok, I understand now the issue: in version 3.0.5 the metadata of the download were not set properly. With no metadata (title, image, etc.) the download was filtered by the UI, resulting in no entry on screen.

In 3.0.6 this was fixed, if no metadata is found the download it's still kept.

I'm asking you to retest it in the latest docker image.

YamatoRyou commented 2 months ago

Ok, I understand now the issue: in version 3.0.5 the metadata of the download were not set properly. With no metadata (title, image, etc.) the download was filtered by the UI, resulting in no entry on screen.

In 3.0.6 this was fixed, if no metadata is found the download it's still kept.

I'm asking you to retest it in the latest docker image.

It looks like the fault has gone away (as of this test, the Docker image labeled "latest" was last updated about 6 hours ago). {2D52476A-66F7-AB87-78C3-7AC02210F857}