Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
minnas23 opened this issue Jul 8, 2024 · 6 comments

Comments

@minnas23
Copy link

minnas23 commented Jul 8, 2024

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
Copy link
Owner

kylon commented Jul 13, 2024

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

extensions must be unpacked and loaded in code

@minnas23
Copy link
Author

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
Copy link
Owner

kylon commented Jul 16, 2024

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
Copy link

kgaff commented Jul 23, 2024

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

@duyphong1204
Copy link

duyphong1204 commented Jul 26, 2024

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
Copy link
Owner

kylon commented Jul 30, 2024

@duyphong1204 you cannot run extensions in release, you must add them in code and run or build it, see #96 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants