CheeseDanish1 / Rosetta-Stone-Script

12 stars 7 forks source link

Add time to completion #2

Closed yourblackcat closed 11 months ago

yourblackcat commented 11 months ago

I was not able to find the authentication token or the session token to add to the program file so I used the second method in the video and it worked like a charm. However, the completion time of each activity is currently 1 minute. Is it possible to add time to the "time spent" column as well to avoid suspicion?

yourblackcat commented 11 months ago

Ignore the above. I have managed to figure out how to use your program and it's working great! Thanks for coming up with this wonderful program that will save so much of my time!

CheeseDanish1 commented 11 months ago

No problem. If you got the primary method to work, can you post a video of getting the information for the constants.json from the web requests? I would do it but I no longer have access to a Rosetta Stone account.

yourblackcat commented 11 months ago

I tried the same method but I am getting the following error when I run node index.js.

`node:internal/deps/undici/undici:11754 Error.captureStackTrace(err, this); ^

TypeError: Cannot convert argument to a ByteString because the character at index 512 has a value of 8230 which is greater than 255. at node:internal/deps/undici/undici:11754:11 at async getData (/Users/me/Downloads/Rosetta-Stone-Hack-main/getData.js:7:15) at async main (/Users/me/Downloads/Rosetta-Stone-Hack-main/index.js:6:24)

Node.js v21.2.0`

yourblackcat commented 11 months ago

After some trial and error, it appears that the error was caused by not having the full authorization token (the authorization token appears to be truncated on Firefox). The full auth token is found in the graphql file in the network tab of inspect element on chrome and the session token is found at the bottom of one of the scores files in the same tab. The search function is useful for these purposes. That should get everything working smoothly.

I do have one question though: can the program be updated to extend the completion time of the core lessons since these usually take a longer time to complete?

I'll update with a video or some detailed instructions with screenshots this weekend.

WJ0F commented 10 months ago

After some trial and error, it appears that the error was caused by not having the full authorization token (the authorization token appears to be truncated on Firefox). The full auth token is found in the graphql file in the network tab of inspect element on chrome and the session token is found at the bottom of one of the scores files in the same tab. The search function is useful for these purposes. That should get everything working smoothly.

I do have one question though: can the program be updated to extend the completion time of the core lessons since these usually take a longer time to complete?

I'll update with a video or some detailed instructions with screenshots this weekend.

did you ever add a video/ screenshots

Cubinster commented 10 months ago

can you add the video pls

Asiankidlol1 commented 8 months ago

I was not able to find the authentication token or the session token to add to the program file so I used the second method in the video and it worked like a charm. However, the completion time of each activity is currently 1 minute. Is it possible to add time to the "time spent" column as well to avoid suspicion?

how did you fix the time spent?