Battleman / zoomdl

Download Zoom recorded meetings easily
GNU General Public License v3.0
341 stars 44 forks source link

[CRITICAL]Unable to find meetId in the page #48

Open pascal-mueller opened 3 years ago

pascal-mueller commented 3 years ago

Prerequisite

Describe the bug I run zoomdl -u myurl -p 'mypw' --cookies cookies.txt which worked yesterday but then I suddendly started getting [CRITICAL]Unable to find meetId in the page

Versions (please complete the following information):

Battleman commented 3 years ago

Oh, interesting. So from my tests, putting the -p AND the --cookies option will trigger an error.

Quick explanation, but I should fix that, it's bad behaviour. So when you put cookies, it immediately updates the cookies of the session. And when you give the password, it supposes the video is password-protected and looks for the meetId on the page. But this meetId is only available on the login page. And because you have the login cookies, it never goes to the login page.

tl;dr: I'll adapt the doc and behaviour to something more normal. Meanwhile, if you use -p OR --cookies but not both, it should work. --cookies is more 'general' and should bypass all securities, so if in doubt, use that one.

pemmenegger commented 3 years ago

Same here but neither using only -p nor only --cookies worked for me. Only -p returned [CRITICAL]Unable to find meetId in the page and only --cookies resulted in ERROR] Video not found in page. Is it login-protected?

Versions (please complete the following information): OS: macOS 11.2.3 Python Version: 3.9.0

Battleman commented 3 years ago

OK, then this I can't reproduce. Does this happen on all videos? Are there special things about those videos? SSO, password,...?

pemmenegger commented 3 years ago

The videos I've tried are all SSO and password protected. Here an example:

URL: https://uzh.zoom.us/rec/play/fH-b0z_UpUtlBZiRCIaTK65Rf1zoDQ0ZViT-ve0mXQ9OZXJxBGPAlOyjp-DY0jrGpizv7oO1T38L7-kM.fD2elXkrQhRmbdz1 Password: P9k$pfm!

Does this help?

Battleman commented 3 years ago

I unfortunately can't test that, as I don't have an authorized account to view that. I'll see what I can do, but with no testing it's not gonna be easy, I'll probably need you to guide me.

Oorha commented 3 years ago

Battleman, appreciate all you're doing with this.

Unfortunately have the same issue and the link requires an authorised account.

[CRITICAL]Unable to find meetId in the page

How could I help resolve this?

Battleman commented 3 years ago

For now, the best method is to use cookies. Does it not work for you?

Oorha commented 3 years ago

Cookies works for me, thank you!

hykilpikonna commented 2 years ago

I think I found the problem. For a recording with both account and password protection, entering the password in your browser will unlock the video for the account, so zoomdl can download it successfully with only cookie and without a password. However, if the video haven't been previously unlocked, using zoomdl would fail either with only cookie, or with both cookie and password.