kylon / Sharedown

Electron application to download Sharepoint videos (especially meant for students)
GNU General Public License v3.0
376 stars 41 forks source link

With the introduction by my university of the 2FA for my school account, I can't download anything #40

Closed Elvino00 closed 2 years ago

Elvino00 commented 2 years ago

In order to download videos from sharepoint I use the option "Unina" as login module. The problem is that right today, my university forced the 2FA on all account so I had to login again in all my devices. The point is, when I try to download a video (right after clicking the download button) , The chromium windows is opened, the email address is automatically inserted but it asks me the code i received via phone for the 2FA. The point is that I can't even write in the code that the page reloads by itself and asks me how i want to authenticate for 2FA.

Attached to this issue, here are the logs.

kylon commented 2 years ago

Sharedownt1.zip

unpack open a terminal in unpacked folder type npm i or yarn install to download required files type npm start or yarn start to start sharedown

Elvino00 commented 2 years ago

It works and i think that ytdlp.log and sharedownLog.log can confirm it. The point is, it always asks for 2FA codes. Isn't there a way to insert the code one time? Because when sharedown opens chromium and I get the message "Do you want to remember login details?" and i click on the tick "don't make this message appear again" and then on the "yes" button, i always get the 2FA code asked

kylon commented 2 years ago

Yes, enable the use of chrome data folder, that will save your login session while sharedown is running.

That option will disable auto login, so you have to perform a manual login and when asked to remember login credential you must say Yes.

From now on, until you close sharedown, no more login should be needed

Elvino00 commented 2 years ago

Yes, enable the use of chrome data folder, that will save your login session while sharedown is running.

That option will disable auto login, so you have to perform a manual login and when asked to remember login credential you must say Yes.

From now on, until you close sharedown, no more login should be needed

There is a problem: the option is disabled and can't be enabled.

kylon commented 2 years ago

Set login module to basic

Elvino00 commented 2 years ago

Set login module to basic

Just done. The option is still off and can't be enabled

kylon commented 2 years ago

What other options are enabled Send a screen, there is one that must be disabled for that to be enabled

Elvino00 commented 2 years ago

What other options are enabled Send a screen, there is one that must be disabled for that to be enabled

I've found the option to be disabled in order for the chrome userdata to be enabled but I don't even have the time to write my email that the page reloads.

EDIT: I get the error "unable to find valid donor response" or something like that. sharedownLog.log Here are the logs

kylon commented 2 years ago

Ok, i ll look into this

Elvino00 commented 2 years ago

Ok, i ll look into this

I hope you saw the edit I did

kylon commented 2 years ago

Yea, its not that, you get that as a result

Elvino00 commented 2 years ago

Yea, its not that, you get that as a result

Ok, I'll wait for your next answer.

kylon commented 2 years ago

Sharedownt2.zip

Elvino00 commented 2 years ago

Sharedownt2.zip

I saw the new package. I'm gonna test it

EDIT: The package works and here are the logs if you wanna check them out. ytdlp.log sharedownLog.log

By following your suggestion the phone 2FA authentication works and i can keep my data and not put them in every time.

Elvino00 commented 2 years ago

Sharedownt2.zip

I saw the new package. I'm gonna test it

EDIT: The package works and here are the logs if you wanna check them out. ytdlp.log sharedownLog.log

By following your suggestion the phone 2FA authentication works and i can keep my data and not put them in every time.

don't know if you've received any notification about the edits, in case I make a new comment

kylon commented 2 years ago

ok, i ll make a new release, thanks