Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juandelahd/scrap-accreditations
This repository houses a sophisticated WhatsApp bot designed to scrape data from a specified website. The bot is fully equipped for deployment on services like Railway, thanks to the inclusion of a Dockerfile. This setup ensures seamless and efficient deployment, allowing for rapid integration and execution in a production environment.
https://github.com/juandelahd/scrap-accreditations
base node-js railway-deployment scraping-websites whatsapp-bot
Last synced: about 2 months ago
JSON representation
This repository houses a sophisticated WhatsApp bot designed to scrape data from a specified website. The bot is fully equipped for deployment on services like Railway, thanks to the inclusion of a Dockerfile. This setup ensures seamless and efficient deployment, allowing for rapid integration and execution in a production environment.
- Host: GitHub
- URL: https://github.com/juandelahd/scrap-accreditations
- Owner: juandelaHD
- License: mit
- Created: 2024-06-29T18:52:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-30T21:32:02.000Z (7 months ago)
- Last Synced: 2024-10-14T05:41:59.287Z (3 months ago)
- Topics: base, node-js, railway-deployment, scraping-websites, whatsapp-bot
- Language: JavaScript
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scraping Accreditations
## Overview
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.
## Features
- **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.## Prerequisites
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.## Installation
1. **Clone the Repository:**
```bash
git clone https://github.com/juandelaHD/Scrap-Accreditations.git
cd Scrap-Accreditations
```2. **Install Dependencies:**
```bash
npm install
```## Usage
1. **Start the Bot:**
```bash
npm start
```2. **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.## Configuration
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.
## Contributing
Contributions are welcome! Please follow these steps:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes and commit them (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Open a pull request.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.