kylon / Sharedown

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

no video data found in SP.List.GetListDataAsStream?listFullUrl #90

Closed snowcross closed 7 months ago

snowcross commented 7 months ago

hi, after the login process the video starts to play and then I get an error of "no video data found in SP.List.GetListDataAsStream?listFullUrl" this is when download is set to direct. I get similar errors when trying the other 2 download types.

snowcross commented 7 months ago

here are the logs

fillLoginFieldsFromPwdManager: no credentials found for module 0, skip..

fillLoginFieldsFromPwdManager: no credentials found for module 0, skip..

startDownload: start

startDownload: valid data: true

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

runPuppeteerGetVideoData: goto XXX

_sharepointLogin: start login procedure

_sharepointLogin: has login data

_waitForVideoPlayer: ignore: Protocol error (DOM.describeNode): Cannot find context with specified id

_waitForVideoPlayer: ignore: Execution context was destroyed, most likely because of a navigation.

_waitForVideoPlayer: ignore: Execution context was destroyed, most likely because of a navigation.

_getDataFromResponseListDataRow: No match for undefined

_makeDirectUrl: no filterlink in vID: undefined

runPuppeteerGetVideoData: error no video data found in SP.List.GetListDataAsStream?listFullUrl

downloadVideo: has vdata: false

startDownload: failed undefined

kylon commented 7 months ago

direct only works in few cases, thats expected, what is the error with yt-dlp or ffmpeg? you get the same error with built-in chrome?

snowcross commented 7 months ago

also, I'm running this from "yarn start" I can't run an unsigned app on my Mac due to profile restrictions.

kylon commented 7 months ago

Screenshot_20240407_131023

is this file present in sharedown folder?

do you have chrome folder in path node_modules/puppeteer/chrome/

snowcross commented 7 months ago

yes .puppeteerrc.cjs is in the folder

and yes node_modules/puppeteer/chrome/ is in my path. (it wasn't, I added it and tried again) still can't find chrome

kylon commented 7 months ago

so chrome was not installed for some reason, the chrome folder must exists and not empty mac M or intel? you got any error when installing dependencies?

snowcross commented 7 months ago

No there were no errors on install, also the chrome folder does exist. What kind of structure of files am I looking for in that folder? So so I can verify.

Mac M

snowcross commented 7 months ago

list.txt

here is the tree structure of the chrome folder under Sharedown/node_modules/puppeteer/chrome

kylon commented 7 months ago

sharedownt.zip

this should now find built-in chrome so you can test with that

kylon commented 7 months ago

i see, are you getting the link from context menu in sharepoint -> copy link? if not, try that way

kylon commented 7 months ago

can you post yt-dlp log? is there an error if you try yt-dlp or ffmpeg, ie not direct?

snowcross commented 7 months ago

it works using yt-dlp now ! thanks!!

kylon commented 7 months ago

so can be closed?