Skip to main content

MyAnimeList web scraper

Project description

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

Usage

Use the online documentation, and just:

pip install mal-scraper

We 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.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.

Files for mal-scraper, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size mal_scraper-0.2.1-py2.py3-none-any.whl (13.3 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size mal-scraper-0.2.1.tar.gz (159.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page