Battleman / zoomdl

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

Error with meta parsing #86

Open charles15 opened 1 year ago

charles15 commented 1 year ago

Prerequisite

Describe the bug SSO downloads are working as expected except one video fails every time I attempt to download it.

A bit of context that may be helpful, these are biweekly recordings and only the one from Feb. 7th is failing. I will attempt to download the one for Feb. 9th when it is available to confirm if it is only the one recording that is failing or all recording after Feb. 2nd (last successful download).

To Reproduce

  1. Access recording through URL provided by university
  2. Login with university credentials
  3. Use page url in command for zoomdl
  4. Export cookies or use previously exported cookies (same end result) and place in same folder as zoomdl.exe
  5. Attempt to download using following command zoomdl -u 'URL' -f 'FILENAME' --cookies cookies.txt

Expected behavior For the video to download as it did with other links and same command.

URL I can privately share it if required but it is locked behind SSO login.

Logs

[WARNING] Error with the meta parsing. This should not be critical. Please contact a dev.
Traceback (most recent call last):
  File "zoom_dl\__main__.py", line 20, in <module>
  File "zoom_dl\__init__.py", line 19, in main
  File "zoom_dl\zoomdl.py", line 346, in download
  File "zoom_dl\zoomdl.py", line 97, in get_page_meta
UnboundLocalError: local variable 'meta2' referenced before assignment
[61236] Failed to execute script __main__

Versions:

Additional context Might be related to https://github.com/Battleman/zoomdl/issues/84 but I created a separate issue as the resulting error isn't the same.

CicadaCinema commented 1 year ago

I am seeing a similar issue with a recording which is behind both SSO and a passcode.

Log - only specifying cookies

$ ./zoomdl -u 'REDACTED' --cookies cookies.txt -f filename -v 0
Using standard Windows UA
Changing page to REDACTED
[WARNING] Error with the meta parsing. This should not be critical. Please contact a dev.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/jazz/Downloads/./zoomdl/__main__.py", line 20, in <module>
  File "/home/jazz/Downloads/./zoomdl/zoom_dl/__init__.py", line 19, in main
  File "/home/jazz/Downloads/./zoomdl/zoom_dl/zoomdl.py", line 346, in download
  File "/home/jazz/Downloads/./zoomdl/zoom_dl/zoomdl.py", line 97, in get_page_meta
UnboundLocalError: cannot access local variable 'meta2' where it is not associated with a value

Log - specifying both cookies and a passcode

$ ./zoomdl -u "REDACTED" --cookies cookies.txt -f filename -p 'REDACTED' -v 0
Using standard Windows UA
Changing page to REDACTED
Using password 'REDACTED'
[CRITICAL]Unable to find meetId in the page