Skip to main content

MyAnimeList web scraper

Project description

MyAnimeList web scraper is a Python library for gathering data for analysis.

Installation & Usage

Installation is simple:

pip install mal-scraper

Please use the documentation for the reference and usage examples.

For your convenience follow Semantic Versioning.

Development

Please see the Contributing documentation page for full details, and especially look at the tips section.

After cloning, and creating a virtualenv, install the development dependencies:

pip install -e .[develop]

To run the all tests, skipping the python interpreters you don’t have:

tox --skip-missing-interpreters

Project Notes:

  • Tests will always mock requests to the internet. You can set the environment variable LIVE_RESPONSES=1 to properly test web scraping.

  • You can look at coverage results inside htmlcov/index.html.

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.3.0 (2017-05-02)

  • Fix various issues on anime pages

  • Rename retrieve_anime to get_anime for consistency (backwards-incompatible)

0.2.1 (2017-05-01)

  • Add Season as an Enum rather than a simple string (backwards-incompatible)

  • Fix failing tests due to version number

0.2.0 (2017-05-01)

  • Alter anime retrieval API to use exceptions (backwards-incompatible)

  • Improve documentation (mainly around the anime API)

0.1.0 (2016-05-15)

  • First release on PyPI.

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

mal-scraper-0.3.0.tar.gz (288.8 kB view details)

Uploaded Source

Built Distribution

mal_scraper-0.3.0-py2.py3-none-any.whl (14.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mal-scraper-0.3.0.tar.gz.

File metadata

  • Download URL: mal-scraper-0.3.0.tar.gz
  • Upload date:
  • Size: 288.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mal-scraper-0.3.0.tar.gz
Algorithm Hash digest
SHA256 42d993459161e71da8d47a32c2d9d06edee6dbde9f893b769809c1c5fd48f62e
MD5 091172059837f778dbb8bc58ffad3bf6
BLAKE2b-256 bb94c2d0ae5053498a78ec4590a49c513e960a92110124f2399335dfb6d1db24

See more details on using hashes here.

File details

Details for the file mal_scraper-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mal_scraper-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd2d445e858cd28324ef726bf5099daf5376a9dc9df6bf4e737c5b4a186c7758
MD5 849797181b064b8453e1b1d2bb84980f
BLAKE2b-256 e52f0a85baa1375a2b4a6c2a2c74ad032a3c5c2b12e700fcbcd57064326968fa

See more details on using hashes here.

Supported by

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