Scrap-Accreditation is a usefull WhatsApp bot designed to scrape data from a specified website. By default, it is configured to scrape the accreditation website of River Plate. It waits for a user's request via WhatsApp to provide the latest updates from the site, ensuring you get the lastest information only when you need it.
It is built for easy deployment on container services like Railway
, leveraging the included Dockerfile for seamless integration and operation. This bot automates the process of data extraction through WhatsApp, making it a robust solution for various scraping needs.
- WhatsApp Bot: Automates interaction and data scraping tasks through WhatsApp.
- Web Scraping: Efficiently extracts data from a targeted website.
- Docker Integration: Ready-to-use Dockerfile for hassle-free deployment on services like Railway.
- User-Friendly: Simple setup and installation process.
Before you begin, ensure you have met the following requirements:
- Node.js installed on your local machine.
- Docker installed if you plan to deploy using Docker.
- WhatsApp account for bot interaction.
-
Clone the Repository:
git clone https://github.com/juandelaHD/Scrap-Accreditations.git cd Scrap-Accreditations
-
Install Dependencies:
npm install
-
Start the Bot:
npm start
-
Scan QR:
- After starting the bot, a QR code image will be generated in the directory.
- Open WhatsApp on your phone where the bot is going to be deployed and go to
Settings > Linked Devices
- Scan the QR code with your phone to link this bot with the WhatsApp account.
To configure the bot, update the necessary settings in the app.js
file. This includes specifying the target website for scraping and any WhatsApp-specific configurations.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.