kylon / Sharedown

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

Add Cookie to Chrome for Testing and Install Chrome Extension in Chrome for Testing #96

Open minnas23 opened 2 months ago

minnas23 commented 2 months ago

i want to download video from sharepoint, but i only have cookies to access video and folder.

https://chromewebstore.google.com/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg

I use the above extension to import cookies into the normal Chrome browser. but the Chrome for Testing browser accessed from Sharedown cannot install the extension. Can you guide me how to solve this problem?

kylon commented 2 months ago

https://pptr.dev/guides/chrome-extensions

extensions must be unpacked and loaded in code

minnas23 commented 2 months ago

Thank you. I have done it successfully. Thank you so much for creating such an amazing app to download videos from SharePoint<3

Can I share how I add extensions and cookies to Sharedown in this issue? If you agree, I will write another comment to share how I add extensions and cookies to Sharedown on Windows here.

I know from the beginning Sharedown was only created to download videos from SharePoint, but can you add features to Sharedown to be able to download files of other formats from SharePoint (pdf, xlsx, docx, ...) because they have been blocked from downloading and I can't download them the normal way because they are encrypted. If not, can you suggest me another solution to download pdf, xlxs, docx, ... files that are blocked from downloading in SharePoint? Thank you very much <3

kylon commented 2 months ago

Can I share how I add extensions and cookies to Sharedown in this issue? If you agree, I will write another comment to share how I add extensions and cookies to Sharedown on Windows here.

sure, will add it to wiki

I know from the beginning Sharedown was only created to download videos from SharePoint, but can you add features to Sharedown to be able to download files of other formats from SharePoint (pdf, xlsx, docx, ...)

that seems out of scope for this app and would probably require a major rewrite i'm not using teams anymore, i don't know how to help with other file types, sorry

kgaff commented 1 month ago

I came here to request the same (files) but greatly appreciate (and find) the video download tool, it's really useful

duyphong1204 commented 1 month ago

OMG, right what I need, please share the instructions

I tried to load the unpacked Edit-This-Cookies extension. It popped up a notification that said extensions loaded but nothing appeared. image

Steps I've done:

  1. Install the latest built for Windows, not yarn build or from source
  2. Run the download normally and using the default Chrome For Testing
  3. Try loading unpacked extensions after reading this issue.

I'm wondering the reason why I did not success is because I do not use puppeteer (i don't know how to use it) with chrome for testsing or some chrome for testing configuration problems that require editing the source?

Thanks for reading

kylon commented 1 month ago

@duyphong1204 you cannot run extensions in release, you must add them in code and run or build it, see https://github.com/kylon/Sharedown/issues/96#issuecomment-2226803037