Skip to content

sandroamiridze/refresh-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

# Auto Refresh Bot using Puppeteer

![GitHub](https://img.shields.io/github/license/sandroamiridze/refresh-bot)
![Node.js](https://img.shields.io/badge/Node.js-%3E%3D%2012-brightgreen)

Automate webpage refreshing with Puppeteer, a Node.js library that provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.

## Table of Contents

- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Introduction

This project demonstrates how to create a simple bot that uses Puppeteer to automate the refreshing of a web page at a specified interval. It's a useful example to understand how browser automation can be accomplished using Puppeteer.

## Installation

1. Make sure you have [Node.js](https://nodejs.org/) installed on your system.

2. Clone this repository:

   ```sh
   git clone https://github.com/sandroamiridze/refresh-bot.git
  1. Install the project dependencies:

    cd auto-refresh-bot
    npm install

Usage

  1. Open the refreshBot.js file in a text editor.

  2. Replace 'https://example.com' with the URL of the webpage you want to refresh.

  3. In your terminal, run the bot:

    node refreshBot.js

    This will launch a Puppeteer-controlled browser, navigate to the specified webpage, and refresh it at the defined interval.

Contributing

Contributions are welcome! If you encounter any issues or have ideas for improvements, please feel free to open an issue or submit a pull request. For major changes, please open an issue first to discuss your proposed changes.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published