Comments (4)
Unfortunately I really don't think this is possible, since puppeteer opens a new unique instance of chrome every time, it won't remember cookies.
from giveaway-grabber.
ack, spoke too soon, it might be possible: https://stackoverflow.com/questions/48608971/how-to-manage-log-in-session-through-headless-chrome
from giveaway-grabber.
I've played around with this a little, and I think the suggestion in that stack overflow works, but it seems to have some weird and unintended side effects that I'd need to handle. If you want to experiment with it for now, open the index.js and update line 24 like:
const browser = await puppeteer.launch({ headless: false, userDataDir: "./user_data" });
This should save your session and cookies, so it should remember your 2fa preferences. The problem is since it thinks you are logged in, it goes to a different log in page then normal, which only asks for your password, so you'll have to manually enter it! 🙄
from giveaway-grabber.
This should be resolved with latest release. Set remember_me
flag to true and it will only ask you for your 2fa once.
from giveaway-grabber.
Related Issues (20)
- Alias does not work when Git is installed HOT 1
- Bug on numerical password HOT 2
- Winning and W CODE NOT IN DATABASE HOT 5
- unable to revisit any winning URL HOT 3
- Is it possible to add support for http proxy with authentication? HOT 1
- Unable to install giveaway-grabber HOT 1
- When navigating to next page program gets stock and HOT 2
- Unable to install HOT 1
- Winning Item Url broken
- Multiple accounts at once? HOT 1
- Black Screen HOT 2
- Chrome Executable path still not showing up HOT 1
- Can't find the config file in directory to be able to point to chrome HOT 2
- Idea: Shutdown when done
- Will not access chrome executable path
- Check permissions error HOT 1
- bad luck? HOT 6
- End of the Road HOT 2
- My issue is giveaways are ending.
- October 2019 - 4.3.0 Broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giveaway-grabber.