Skip to main content

Simple Anime Web Scraper.

Project description

Anime Web Scraper

Scrapes anime data from https://myanimelist.net/ .

Anime Model Data

These are, as for now, the only available data.

  • Title
  • English Title
  • Japanese Title
  • Synonyms
  • Synopsis
  • Anime Type
  • Episodes
  • Genres
  • Poster (link)
  • Trailer (link)

Installation

pip install pymalscraper

Basic Usage

from pymalscraper.scraper import MALScraper
scraper = MALScraper()
anime = scraper.get_anime("kimi no na wa.")

> anime.title
'Kimi no na wa.'
> anime.english_title
'Your Name.'
> anime.japanese_title
'君の名は。'
> anime.synonyms
''
> anime.synopsis
"Mitsuha Miyamizu, a high school girl, yearns to live the life of a boy in the bustling city of Tokyo—a dream that stands in stark contrast..."
> anime.animetype
'Movie'
> anime.episodes
'1'
> anime.genres
'Romance, Supernatural, School, Drama'
> anime.poster
'https://cdn.myanimelist.net/images/anime/5/87048.jpg'
> anime.trailer
'https://www.youtube.com/embed/3KR8_igDs1Y?enablejsapi=1&wmode=opaque&autoplay=1'

# To get the anime url    
> scraper.get_anime_url('kimi no na wa.')
'https://myanimelist.net/anime/32281/Kimi_no_Na_wa'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymalscraper-1.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pymalscraper-1.0.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file pymalscraper-1.0.4.tar.gz.

File metadata

  • Download URL: pymalscraper-1.0.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for pymalscraper-1.0.4.tar.gz
Algorithm Hash digest
SHA256 608df928b294d9f4faef902f79d95ac138ff7e6ee81ad908e9f455bf943d3700
MD5 d8df138824488c5b7adac8c604ab72b1
BLAKE2b-256 afc1eef363c7ad7251b707e0bda8c5a8610e0abf3857d0c461947aa5cc6fc385

See more details on using hashes here.

File details

Details for the file pymalscraper-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pymalscraper-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for pymalscraper-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8fcb8274017e5b6df52a8c70fdbb697e33473d1ba7727324bc0a473c0bb36eb0
MD5 3e8abb88934d6444c08b242f8181269a
BLAKE2b-256 3f9c1506f5f6b987ec7297dc231fa58c21b00ee101466e7aa468297f922d1b81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page