Upvote bot

Nonname

Newbie
Joined
Sep 19, 2024
Messages
6
Reaction score
0
Hello everyone, I have a question, I write a reddit upvote bot using account cookies, but there is 1 but, if I use my account cookies (current cookies) then everything is ok, but if these cookies are more than a week old, or purchased cookies, so at first they work fine, but for some time, they are not valid again, and I can't do upvote(
gives 401 Unauthorized, I only have cookies, tried many options, none of them work as expected, maybe someone can tell me?
please
 
you need to write logic for refreshing the bearer (token v2) continuously
 
I used pyppeteer but it still doesn't work (
(how it works, I open the browser, enter the cookies, go to reddit, take new cookies, close the browser, and use the cookies for API requests, but they don't work :/ )
 
I also tried with a browser open on selenium, using the same algorithm, but without closing the page, I made API requests, the same thing(
 
Have you used chromedriver?
 
yes i have, at least its pyppeteer should have used the driver by default
 
Perhaps someone from their practice can advise me on how to make a remuse token v2 correctly?
because for some reason they are not valid for me all the time
 
Back
Top