question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some videos return an empty StreamQuery list

See original GitHub issue

E.g. YouTube('https://youtu.be/wyx6JDQCslE').streams returns []

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
x1001000commented, Dec 10, 2020

@tfdahlin You are awesome! Thank you.

1reaction
tfdahlincommented, Dec 10, 2020

That’s why. This problem was reported in https://github.com/nficano/pytube/issues/845, and fixed a few PR’s ago. I would recommend installing the latest version of pytube directly from the source with python -m pip install git+https://github.com/nficano/pytube, which should fix this problem for you. I’m working on getting the most recent changes pushed to PyPI, but for the time being, installing from source should work to fix this problem for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some videos return an empty StreamQuery list · Issue #868 · pytube ...
I'm working on getting the most recent changes pushed to PyPI, but for the time being, installing from source should work to fix...
Read more >
pytube Documentation - Read the Docs
You may notice that some streams listed have both a video codec and audio codec ... Returns a list of streams if they...
Read more >
YouTube api returns empty results where video exists
is the query I used but I tried to get the uploads channel id as some answers here advised but the channels/list endpoint...
Read more >
Streamlit Videos Downloading Application - Educative.io
Some YouTube videos are not available to download and will return an empty StreamQuery object. We use Streamlit's button() method to create a...
Read more >
Working with Streams and StreamQuery - pytube
Begin by running the following to list all streams: ... You may notice that some streams listed have both a video codec and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found