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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymalscraper-1.0.2.tar.gz
  • Upload date:
  • Size: 3.0 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.2.tar.gz
Algorithm Hash digest
SHA256 99e25cdc95c8265e91393ba9a42dd2e708b2343709423eddc69cd34fc6c7ac23
MD5 7c0dca0169334d9426b9b45380a8e841
BLAKE2b-256 ce149e899615a5c21fc3c4b52548991d28b009c90ccdfeeb9d8189cb9b2951d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymalscraper-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3092a63d9793799e7caed866c9f91cdf8feebfc92deea18bcd354973885ba9f9
MD5 d3d80877dc092c0bdc6ecfdbb606e557
BLAKE2b-256 b478fe2f035edc359021d4a001b071e053e976eb0793c75dd0b790a9f3122eeb

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