kylon / Sharedown

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

can not download video suddenly #91

Closed yemichi9 closed 7 months ago

yemichi9 commented 7 months ago

error

can not download video suddenly , error as above

kylon commented 7 months ago

you mean with 5.3.3? this is a regression?

yemichi9 commented 7 months ago

Sorry I don't get it All things went good but started from yesterday the error appeared whenever after logging in the school account. The error popped up just a few second after the video start.I did not change any setting or else

kylon commented 7 months ago

what sharedown version?

yemichi9 commented 7 months ago

image

I just reinstall version 5.3.3 and appear the above error

Thank you

kylon commented 7 months ago

are you using a custom chrome browser? can you post a log?

yemichi9 commented 7 months ago

I use standard chrome browser with some extension module like other video downloader/VPN etc

Here is the Log: startDownload: start

startDownload: valid data: true

WARNING: custom chrome executable, Sharedown may not work as expected!

runPuppeteerGetVideoData: goto https://studenthkccpolyuedu-my.sharepoint.com/:v:/g/personal/wyyeung_common_cpce-polyu_edu_hk/EZxZeHMuDQBNtge557MbjUkBBZI94bBSJnb8O0v-bGPo4w?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=k92GCS&web=1

_sharepointLogin: start login procedure

_sharepointLogin: has login data

_sharepointLogin: has msid

_sharepointLogin: has auto-login

_getDataFromResponse: no spItmUrl vID: undefined

_getDataFromResponseListDataRow: No match for undefined

_getDataFromResponse: no spItmUrl in altRow: null

_getSpItmUrlFromApiRequest: apiUrl: https://studenthkccpolyuedu-my.sharepoint.com/sites/g/_api/web/GetList(@a1)/RenderListDataAsStream?@a1='/:v:/g/personal'&RootFolder=null

runPuppeteerGetVideoData: error Unexpected end of JSON input pptr:evaluate;_getSpItmUrlFromApiRequest%20(C%3A%5CUsers%5Cuser%5CAppData%5CLocal%5CPrograms%5Csharedown%5Cresources%5Capp.asar%5Cpreload.js%3A286%3A27):2:70

downloadVideo: has vdata: false

startDownload: failed undefined

kylon commented 7 months ago

can you please try with built-in chrome, external browser can cause issues, that option exists as an emergency option also try to get the link from sharepoint context menu -> copy link, if you are using a different method

yemichi9 commented 7 months ago

I have sucessfully download a video by getting the link from sharepoint context menu. It works! thank you with your kind help!!

kylon commented 7 months ago

nice, closing this

EndersDev commented 7 months ago

I just wanted to say that I did everything as this video: https://www.youtube.com/watch?v=lrlaxTnmJJc

got the error :unexpected end of json input

and them when i got the link of the video in this button: image

It Worked !!

Thank you!!