Error with vid_info & vid_info_url
See original GitHub issueHi there, I am currently using python 2.7.9 and pytube 8.0.2 and I have noticed that vid_info returns and error code 2 (Invalid Parameters) for the example video on the pytube site and any other YT URL I have tried. Here is what happens:
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pytube import YouTube
>>> yt = YouTube('http://youtube.com/watch?v=9bZkp7q19f0')
>>> yt.vid_info
{u'status': u'fail', u'errorcode': u'2', u'reason': u'Invalid parameters.'}
>>> yt.vid_info_url
'https://youtube.com/get_video_info?video_id=9bZkp7q19f0&el=%24el&ps=default&eurl=https%253A%2F%2Fyoutube.com%2Fwatch%253Fv%253D9bZkp7q19f0&hl=en_US&t=%252C%2522t%2522%253A%25221%2522'
>>>
If you paste the vid_info_url into a browser then you get the same error as can be seen above. Everything else looks ok and I can download the video ok.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Problem in Vidinfo [SOLVED] - Media Center Master
When I try to pull by MCM a video file from the download folder so the msm can organize and do the whole...
Read more >"urllib.error.HTTPError: HTTP Error 404: Not Found ... - GitHub
I've been getting this error ever since I downloaded pytube, which was only two weeks ago, but it keeps getting worse.
Read more >Asynchronous loading - crawling dynamic data_json_Mangs ...
... the video description in each floor vidinfo['url'] = item['arcurl'] # Get ... The editor reports an error, which seems to be due...
Read more >ilveroamore :: Guestbook - PDF Free Download
VidInfo es un curso creado por Carlos Cadena , que es una y te enseсe todo lo que tienes que saber, para ganar...
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
It seems to be related to the el=$el attribute in the
vid_info_url
. If you just take that out, it works!This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.