no stream information available
See original GitHub issueHi, I was trying to download this Video as described in the quickstart of the pytube-guide.
Why are there no information about the video formats available for some videos?
This is what happens when I follow the instructions in the quickstart:
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] on win32
from pytube import YouTube
yt = YouTube('https://www.youtube.com/watch?v=ZRCdORJiUgU')
yt.title
Out[4]: 'Google — Year in Search 2019'
Everything fine until here…
yt.thumbnail_url
Traceback (most recent call last):
File "C:\Users\Samuel\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-5-f4a3e63791c4>", line 1, in <module>
yt.thumbnail_url
File "C:\Users\Samuel\Anaconda3\lib\site-packages\pytube\__main__.py", line 261, in thumbnail_url
return self.player_config_args['thumbnail_url']
KeyError: 'thumbnail_url'
KeyError: ‘thumbnail_url’ - currently not my main problem
But the following results are a problem…
yt.streams.all()
Out[6]: []
stream = yt.streams.first()
stream.download()
Traceback (most recent call last):
File "C:\Users\Samuel\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-8-0a171c2b4d83>", line 1, in <module>
stream.download()
AttributeError: 'NoneType' object has no attribute 'download'
When I search for formats online with this tool there are no formats available for my target video. So yt.streams.all() only returns an empty list. Therefore the .download command obiously does not work.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Can´t find my Information Dock for Twitch Streaming
To be easy, just right-click the word "Audio mixer" itself and the docks will appear together with stream information. That's it. You don't...
Read more >OBS Failed To Load Channel Information For Twitch Fix
In this guide check out how to fix OBS failed to load channel information for Twitch error, also learn why users are getting...
Read more >6 Ways to Fix Kodi No Stream Available Error in 2021
How to Fix Kodi No Stream Available Error · 1. Check If You Are Using an Abandoned Add-on · 2. Clear the Providers...
Read more >Fix: Error Fetching Your Channel Information On Twitch [2022 ]
We have 6 available fixes right here to help you out. ... Encountering errors while trying to broadcast on Twitch is not rare....
Read more >How to Fix Exodus Kodi No Stream Available? [Solved]
While streaming a video on Kodi, you might get the Exodus no stream error. This means that the video content is not available...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After applying the fix from here, I was able to download v=ZRCdORJiUgU.
I am getting stream information (again) for all videos now!
Some time ago I did the fix recommended in #528 . After deleting these changes it now works for me.