TheirTube icon indicating copy to clipboard operation
TheirTube copied to clipboard

no request for youtube credentials

Open shelmz opened this issue 4 years ago • 3 comments

there is no request for youtube credentials when starting the script and therefore there appears no /cookies/theirtube_cookie only the daily scraping time is displayed.

shelmz avatar Jul 27 '20 12:07 shelmz

Yes, so you need to log in manually within the puppeteer browser when you activate it for the first time to create a browser cookie with a logged-in state.

You can also login automatically by adding
theirtube.login(username, password) within the index.js file.

kihapper avatar Jul 27 '20 17:07 kihapper

@kihapper If I want to automatically login to multiple accounts how would I add multiple usernames and passwords. I see the variable persona_list on line 25 of index.js. Does persona1, persona2, persona3, ... represent different usernames? If so, is it possible to add a password for each of those usernames.

I assume that I need to add the line: theirtube.login(persona, password) on line 54 of index.js.

jtisaacs avatar Aug 12 '20 23:08 jtisaacs

@kihapper bump. Is it possible to do what @jtisaacs is describing above?

havardl avatar Feb 05 '21 08:02 havardl