Skip to main content

bs4 web scrapping api for shinden.pl

Project description

shinden.py Build Status GitHub GitHub last commit PyPI

bs4 based web scrapping api for shinden.pl

Required libraries:

  • BeautifulSoup4
  • requests
  • pytest (for testing)

Usage

Installation

Using pip:

pip install shinden

Result

Results are returned using Result object with following attributes:

  • title: the title of the series,
  • tags: list of tags,
  • ratings: dict of specific ratings,
  • type: type of series,
  • episodes: number of episodes,
  • status: status of series (eg. ongoing, finished)
  • top_score: overall score
  • url: url to the shinden.pl page of the series
  • cover_url: url to the cover image

Example

Importing with import alias

import shinden as sd

Generating a list of Result objects based on first page of shinden search engine

anime_list = sd.search_titles('alchemist')

#    [a list of Result objects]

Getting the title of the first result

anime_list[0].title

#    "Fullmetal Alchemist" 

Project details


Download files

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

Files for shinden, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size shinden-0.4.2.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page