Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eclassesbyravindra] Site support request #9735

Open
cpmydream opened this issue Jun 9, 2016 · 23 comments
Open

[eclassesbyravindra] Site support request #9735

cpmydream opened this issue Jun 9, 2016 · 23 comments

Comments

@cpmydream
Copy link

@cpmydream cpmydream commented Jun 9, 2016

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.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 9, 2016

This video requires logging in.

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 9, 2016

I have the credentials but still not able to download

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 9, 2016

Try --cookies.

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 9, 2016

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

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 9, 2016

it goes to login page ,but i dont know how to get logged in.
How to use --cookies???

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 9, 2016

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

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 9, 2016

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..

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 9, 2016

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.

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 9, 2016

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

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 9, 2016

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 9, 2016

There are no useful information for eclassesbyravindra.com in cookies.txt. Maybe they don't use cookies.

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 10, 2016

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

cookies.txt

Please help!!!

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 10, 2016

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.

@cpmydream
Copy link
Author

@cpmydream cpmydream commented Jun 10, 2016

Yes,
Cookies do not work!!

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 10, 2016

If you trust me, you can drop me a mail with your password.

@yan12125 yan12125 changed the title Redirect is changing url and not able to download from the original url [eclassesbyravindra] Site support request Sep 3, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 3, 2016

A workaround from #10541:

youtube-dl -v <vimeo player URL> --referer http://eclassesbyravindra.com/
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 3, 2016

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.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Dec 25, 2016

Still working for me. Did you upgrade SSL-related softwares recently?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Dec 25, 2016

First try:

openssl s_client -connect player.vimeo.com:443

And see if that succeeds

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Dec 25, 2016

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)'

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Dec 26, 2016

Hmm it tries to connect to kolsvrmo.softether.net instead of player.vimeo.com. Something is wrong?

@vaibhav101
Copy link

@vaibhav101 vaibhav101 commented Mar 7, 2017

@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.

@vaibhav101
Copy link

@vaibhav101 vaibhav101 commented Mar 15, 2017

@palashcode But this would basically crawl the whole website, not a particular category of videos, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.