ReneR97 / domestika-downloader

Download full domestika courses
https://www.buymeacoffee.com/ReneR97
49 stars 14 forks source link

No "credentials" cookie #20

Closed souto64 closed 5 months ago

souto64 commented 7 months ago

Domestika.org just show this two cookies: _domestika_session remember_user_token

Using "remember_user_token" on credentials report this error:

access_token = regex_token.exec(access_token)[1]; TypeError: Cannot read properties of null (reading '1') at scrapeSite (C:\Users\Openbravo\Downloads\Crochet\domestika-downloader-main\index.js:71:50)

souto64 commented 7 months ago

Sorry, solved: You can check this value on "developer tools" (logged in)

joelstitch commented 6 months ago

I also don't see credentials anywhere. I opened Domestika.com, logged in and opened the Developer Tools but can't find the word "credentials" anywhere. Can someone please explain how to get passed this point.

ReneR97 commented 5 months ago

There are different ways to get the credentials cookie. One way is like in the description of the repo to just use the Cookie-Editor browser extension. Or if you dont want to install that, you can open the developer tools, go to the tab "Application", then on the left open the Cookies tab and select https://domestika.com. Then you should see all your cookies on the right side, click on the "credentials" cookie and copy the value of it

joelstitch commented 5 months ago

If I remember right I used a similar add on but on Firefox and that gave me the right info.