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.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pymalscraper-1.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymalscraper-1.0.3.tar.gz
  • Upload date:
  • Size: 3.1 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.3.tar.gz
Algorithm Hash digest
SHA256 7e7e05b5facd19ebcab53f6723b8255a34edfad084d9771899d474e2280f7d53
MD5 2e1d18c503b6d8300448a30100b25ed1
BLAKE2b-256 d5d8c6a036e81a966f395b0f6ede35525537cd934a6c1d3ce1f245da9d29564b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymalscraper-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c84e2bf217bfb829aef47ef4132007fd653dbd08bf454cb59bd9cc4ca77a158
MD5 c735a6a7c0b75822443e438e7eecb3f3
BLAKE2b-256 639e9fd977a4135e040e92912acaa16e3db29a4465dfd7b3a528073ce2966e01

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