An open API service indexing awesome lists of open source software.

https://github.com/xerx81/imdb-top5

This Python-based Discord bot fetches movie information from IMDb based on user commands. It supports commands for top movies, searching by title, and more.
https://github.com/xerx81/imdb-top5

beautifulsoup4 discord-bot discord-py imdb-webscrapping python scraping

Last synced: 4 months ago
JSON representation

This Python-based Discord bot fetches movie information from IMDb based on user commands. It supports commands for top movies, searching by title, and more.

Awesome Lists containing this project

README

        

# Discord Bot: iMDb-Top5

**Description:**
This Python-based Discord bot fetches movie information from IMDb based on user commands. It supports commands for top movies, searching by title, and more.

**Installation:**

1. Clone the repository:
```
git clone https://github.com/Xerx81/iMDb-Top5.git

2. Create a virtual enviornment (recommended).

3. Install dependencies:
```
pip install -r requirements.txt

4. Set up a Discord bot application and obtain your bot token.

5. Create a .env file with the following content:
```
TOKEN = "your_bot_token"

**Usage:**

- Invite the bot to your Discord server.
- Use the following commands:
- /topmovies: Fetches top 5 movies.
- /movies: Fetches top 5 currently popular movies.
- /series: Fetches top 5 currently popular series.
- /games: Fetches top 5 currently popular games.
- /title *movie_name*: Searches for a movie by title.
- /release *year*: Fetches top 5 movies released in the specified year.
- /help: Displays available commands.

**Contributions:**

I welcome contributions to improve this project! Here's how you can contribute:

- Report issues: If you encounter any bugs or unexpected behavior, please open an issue on the GitHub repository.
- Suggest features: If you have ideas for new features, feel free to open a feature request.
- Contribute code: Fork the repository, make your changes, and submit a pull request.
Please follow the standard code style and formatting guidelines.

**Screenshots:**

![imdb_bot](https://github.com/user-attachments/assets/e2838952-f660-4bcc-b21d-61dacf0f4231)