This project demonstrates how to use MoreLogin APIs in a Node.js application with Puppeteer. It includes functionalities for managing browser profiles, proxies, and fingerprinting to enhance web automation and privacy.
- API Documention: https://docs.morelogin.com/l/en/interface-documentation/browser-profile
- Site: https://www.morelogin.com
-
Browser Profile Management: Create, update, and delete MoreLogin browser profiles.
-
Fingerprint Management: Customize and manage browser fingerprints for anonymity.
-
Proxy Integration: Use proxies to route browser traffic securely.
-
Puppeteer Automation: Launch MoreLogin profiles with Puppeteer for web automation.
- Clone the repository:
git clone https://github.com/mozi47/morelogin_API_Nodejs_Puppeteer.git cd morelogin_API_Nodejs_Puppeteer - Install dependencies:
npm install
- Set up your environment variables in a
.envfile:SECRETKEY=your_secret_key APPID=your_app_id BASEURL=http://127.0.0.1:40000
npm run dev- Description: Authenticates and retrieves an access token.
- Description: Fetches all available browser profiles.
- Description: Creates a new MoreLogin browser profile.
- Description: Starts a browser session using Puppeteer.
- Description: Manage and configure Proxies.
Ensure the following variables are set in your .env file:
| Variable | Description |
|---|---|
SECRETKEY |
Your MoreLogin API secret key |
APPID |
Your MoreLogin app ID |
BASEURL |
MoreLogin API base URL (default: http://127.0.0.1:40000) |
- Node.js
- Puppeteer
- Axios
- dotenv
Feel free to submit issues and pull requests for improvements.
This project is licensed under the MIT License.