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

No suitable format found for some (many?) Vimeo (and YouTube) downloads — "failed to download: 'NoneType' object is not subscriptable" #164

Open
holta opened this issue May 29, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@holta
Copy link
Member

holta commented May 29, 2024

Example:

Download: https://vimeo.com/914665377 failed to download: 'NoneType' object is not subscriptable

Among 4 example video download failures on t3 == 10.8.0.62: (latest Ubuntu 24.10 pre-release)

image

Related:

@holta holta added the bug Something isn't working label May 29, 2024
@holta
Copy link
Member Author

holta commented May 29, 2024

@deldesir
Copy link
Collaborator

deldesir commented Jun 3, 2024

This specific video could not be downloaded because no suitable format was found using --format best --format-sort 'tbr~1000'

[https://vimeo.com/914665377]: yt-dlp ERROR: [vimeo] 914665377: No video formats found!
[https://vimeo.com/914665377]: yt-dlp returned no info
[https://vimeo.com/914665377]: Unrecoverable error matched. ERROR: [vimeo] 914665377: No video formats found!;ERROR: [vimeo] 914665377: No video formats found!

I caught this traceback using:

lb tubeadd vimeo.db https://vimeo.com/914665377, and then
lb dl vimeo.db --video -s https://vimeo.com/914665377 --force --write-thumbnail --subs -vvvv --format best --format-sort 'tbr~1000'

@holta
Copy link
Member Author

holta commented Jun 3, 2024

This specific video could not be downloaded because no suitable format was found using --format best --format-sort 'tbr~1000'

  • Personally I'd classify that as a yt-dlp bug! (Even if yt-dlp doesn't have enough people to fix it, understandably?)

  • Should this ticket's subject line be clarified?

@deldesir
Copy link
Collaborator

deldesir commented Jun 3, 2024

  • Personally I'd classify that as a yt-dlp bug! (Even yt-dlp doesn't have enough people to fix it, understandably?)

I agree. Since we know what's causing the failure, should we add a relevant error in the database and for the user? I think we can also consider a fallback to any available format...

  • Should this ticket's subject line be clarified?

Yes. This is not YouTube/Vimeo specific only. I've also tested bilibili.com videos, I got the same error.

@holta holta changed the title Vimeo downloads not currently working — e.g. "Download: https://vimeo.com/914665377 failed to download: 'NoneType' object is not subscriptable" No suitable format found for some (many?) Vimeo (and YouTube) downloads: 'NoneType' object is not subscriptable" Jun 3, 2024
@holta holta changed the title No suitable format found for some (many?) Vimeo (and YouTube) downloads: 'NoneType' object is not subscriptable" No suitable format found for some (many?) Vimeo (and YouTube) downloads — "failed to download: 'NoneType' object is not subscriptable" Jun 3, 2024
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

2 participants