Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3722

Python Pytube unable to download video

$
0
0

Here is my code:

from pytube import YouTubeyt = YouTube("https://www.youtube.com/watch?v=j_rq91-khX4&ab_channel=ElonMuskZone")yt.streams.get_highest_resolution().download("E:")

and here is the error I'm gettingI am also unable to reference any streams at all

AttributeError: 'NoneType' object has no attribute 'span'

I tried reinstalling the pytube library as well as updating it, with no changes


Viewing all articles
Browse latest Browse all 3722

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>