sup3rgiu / PoliWebex

Save WebEx videos uploaded by Politecnico di Milano.
MIT License
35 stars 9 forks source link

Problema download registrazione #4

Closed TeddyPoliMi closed 3 years ago

TeddyPoliMi commented 4 years ago

Ciao, scusa il disturbo ma provando a scaricare una registrazione mi compare questo messaggio di errore

"Reusing password saved in system's keychain!

Launching headless Chrome to perform the OpenID Connect dance... Navigating to WebEx login page... Filling in Servizi Online login form... (node:3648) UnhandledPromiseRejectionWarning: TimeoutError: waiting for target failed: timeout 90000ms exceeded at Function.waitWithTimeout (C:\Projects\PoliWebex\node_modules\puppeteer\lib\helper.js:228:26) at Browser.waitForTarget (C:\Projects\PoliWebex\node_modules\puppeteer\lib\Browser.js:214:27) at Browser. (C:\Projects\PoliWebex\node_modules\puppeteer\lib\helper.js:112:23) at login (C:\Projects\PoliWebex\poliwebex.js:274:19) (node:3648) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:3648) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code."

Con PoliDown non ho mai avuto problemi e per questo mi sono limitato a seguire le istruzioni date qua Pensi di sapere qual è il problema?

sup3rgiu commented 4 years ago

Ciao, prova a scaricare la nuova versione pubblicata poco fa e poi prova ad aggiungere al comando il flag -i 2. In questo modo verrà raddoppiato il valore dei timeout (puoi mettere anche valori decimali) Fammi sapere

sup3rgiu commented 4 years ago

Il problema probabilmente era che veniva richiesto di scegliere la matricola desiderata dopo il login sui servizi online, e ciò non veniva gestito da PoliWebex. Ho implementato anche la gestione di questo dettaglio. Prova la nuova versione

sup3rgiu commented 3 years ago

I'm closing this issue because it has been inactive for a few months