GithubHelp home page GithubHelp logo

animeplanet-web-scraping's Introduction

AnimePlanet-Web-Scraping

This is a simple script using beautifulsoup4 that allows you to scrape anime information for a specific season from Anime-Planet Website and create a Word document with the details.

Prerequisites

  • Python 3.x installed
  • Required packages:
    • requests
    • beautifulsoup4
    • Pillow
    • python-docx

You can install these packages using the following command:

pip install requests beautifulsoup4 Pillow python-docx

Usage

  1. Run the script anime_season_scraping.py.
  2. The script will prompt you to input a season in the format season-YYYY (e.g., summer-2023). If no season is entered, the default season summer-2023 will be used.
  3. The script will scrape anime data for the specified season from Anime-Planet and generate a Word document named anime_season.docx with the information.

Features

  • Scrapes anime data for the specified season.
  • Generates a Word document with season name, anime names, number of episodes, and anime images.
  • Resizes and inserts anime images into the document.

Customization

You can customize the script by modifying the following parts:

  • season variable: Set your desired season in the format season-YYYY.
  • image.thumbnail((156, 222)): Customize the size of the inserted images by changing the dimensions (156, 222).

Example

summer-2023 image

Note

  • The script uses web scraping to gather anime data from Anime-Planet. Ensure you have a stable internet connection.
  • The script may encounter issues if the website structure changes. Regularly update the script if necessary.

Author

Noureldin Mohamed

animeplanet-web-scraping's People

Contributors

roon311 avatar

Stargazers

Paul Koop avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.