Open cpmydream opened 8 years ago
This video requires logging in.
I have the credentials but still not able to download
Try --cookies
.
This is with url username and password
C:\chirag\Videos\Gate Ravi Lectures\CN Problems>youtube-dl.exe -u \ -p *** http://eclassesbyravindra.com/mod/page/view.php?id=1556 [generic] view: Requesting header [redirect] Following redirect to http://eclassesbyravindra.com/enrol/index.php?i d=20 [generic] index: Requesting header WARNING: Falling back on generic information extractor. [generic] index: Downloading webpage [generic] index: Extracting information ERROR: Unsupported URL: http://eclassesbyravindra.com/enrol/index.php?id=20
it goes to login page ,but i dont know how to get logged in. How to use --cookies???
This website is not supported yet.
How to use --cookies???
See: https://github.com/rg3/youtube-dl#how-do-i-pass-cookies-to-youtube-dl
http://eclassesbyravindra.com/mod/page/view.php?id=267
Try this url it works, It can be accessed by guest login and it does get downloaded.. This website use vimeo as player..
http://eclassesbyravindra.com/mod/page/view.php?id=267 can be viewed without an account while http://eclassesbyravindra.com/enrol/index.php?id=24/ not. For the latter case, I guess with --cookies
, youtube-dl can read the web page as if it's logged in, and the embedded video can be extracted.
C:\chirag\Videos\Gate Ravi Lectures\CN Problems>youtube-dl.exe --cookies C:\User s\chirag\Desktop\cookies.txt http://eclassesbyravindra.com/mod/page/view.php?id= 44 [generic] view: Requesting header [redirect] Following redirect to http://eclassesbyravindra.com/enrol/index.php?i d=8 [generic] index: Requesting header WARNING: Falling back on generic information extractor. [generic] index: Downloading webpage [generic] index: Extracting information ERROR: Unsupported URL: http://eclassesbyravindra.com/enrol/index.php?id=8
C:\chirag\Videos\Gate Ravi Lectures\CN Problems>youtube-dl.exe --cookies C:/User s/chirag/Desktop/cookies.txt http://eclassesbyravindra.com/mod/page/view.php?id= 44 [generic] view: Requesting header [redirect] Following redirect to http://eclassesbyravindra.com/enrol/index.php?i d=8 [generic] index: Requesting header WARNING: Falling back on generic information extractor. [generic] index: Downloading webpage [generic] index: Extracting information ERROR: Unsupported URL: http://eclassesbyravindra.com/enrol/index.php?id=8
There are no useful information for eclassesbyravindra.com in cookies.txt. Maybe they don't use cookies.
C:\chirag\Videos\Gate Ravi Lectures\CN Problems>youtube-dl.exe -o C:\Users\chi g\Desktop\check.mp4 --cookies C:\Users\chirag\Desktop\cookies.txt http://e assesbyravindra.com/mod/page/view.php?id=76 [generic] view: Requesting header [redirect] Following redirect to http://eclassesbyravindra.com/enrol/index.php d=9 [generic] index: Requesting header WARNING: Falling back on generic information extractor. [generic] index: Downloading webpage [generic] index: Extracting information ERROR: Unsupported URL: http://eclassesbyravindra.com/enrol/index.php?id=9
How about this and cookies file is here
Please help!!!
I guess you mean http://eclassesbyravindra.com/mod/page/view.php?id=76? With this cookies.txt the link still redirects to a page asking logging in ("You are currently using guest access Log in"). The cookies approach seems dead.
Yes, Cookies do not work!!
If you trust me, you can drop me a mail with your password.
A workaround from #10541:
youtube-dl -v <vimeo player URL> --referer http://eclassesbyravindra.com/
Others will discuss about the workaround even if I keep silent. What youtube-dl tries to do is simple - download videos that can be viewed in browsers. If you found it broken again, please come back and report the incident.
Still working for me. Did you upgrade SSL-related softwares recently?
First try:
openssl s_client -connect player.vimeo.com:443
And see if that succeeds
Could you paste the whole log? openssl tolerates lots of errors that are crucial to Python. And please also paste the output of openssl version
and python -c 'import ssl; print(ssl.OPENSSL_VERSION)'
Hmm it tries to connect to kolsvrmo.softether.net instead of player.vimeo.com. Something is wrong?
@vivekm7 If you need to do it for just one or two videos, you can view the source of the web page, Ctrl+F for "player.vimeo.com" and get the video ID from there. If you need to do it for a lot of videos, making a small script which parses pages may be a much better idea.
@palashcode But this would basically crawl the whole website, not a particular category of videos, right?
C:\chirag\Videos\Gate Ravi Lectures\CN Problems>youtube-dl.exe http://eclassesby ravindra.com/enrol/index.php?id=24/ [generic] index: Requesting header [redirect] Following redirect to http://eclassesbyravindra.com/login/index.php [generic] index: Requesting header WARNING: Falling back on generic information extractor. [generic] index: Downloading webpage [generic] index: Extracting information ERROR: Unsupported URL: http://eclassesbyravindra.com/login/index.php
It gets redirect to another mostly previous url in normal browsing and does not download the videos.