Skip to main content

API for http://abclinuxu.cz.

Project description

Introduction

https://badge.fury.io/py/abclinuxuapi.png https://img.shields.io/pypi/dm/abclinuxuapi.svg https://readthedocs.org/projects/abclinuxuapi/badge/?version=latest https://img.shields.io/pypi/l/abclinuxuapi.svg https://img.shields.io/github/issues/Bystroushaak/abclinuxuapi.svg

This module contains basic API for crawling the http://abclinuxu.cz website.

Installation

Module is hosted at PYPI, and can be installed using PIP:

pip install abclinuxuapi

Documentation

Full module documentation is hosted at ReadTheDocs: http://abclinuxuapi.readthedocs.org

Disclaimer

The API was made by me (Bystroushaak) and it is not officially related to the http://abclinuxu.cz project.

Changelog

0.4.6

  • Fixed another bug in date parsing function.

0.4.5

  • Added support for parsing of more obscure date formats used by articles on abclinuxu.

0.4.4

  • Fixed bug in date parsing function.

0.4.3

  • Added possibility to bypass lazy tag parsing.

0.4.2

  • Parsing of the tags updated.

  • Added support for Blog.uid.

  • Fixed bugs in tests (new year parsing).

0.4.1

  • Fixed bugs in uploader.

0.4.0

  • Added badges to README.

  • Blogpost.comments are now by default blank list instead of None.

0.3.11

  • Added a lot of documentation, fixed docstrings and so on.

  • User.has_blog() changed to bool property User.has_blog.

  • Concept class refactored.

  • Added new parameter data for shared.download().

  • User.ts_to_concept_date moved to shared.ts_to_concept_date().

0.3.7 - 0.3.10

0.3.0 - 0.3.6

  • Added parsing of comments under blogposts.

  • Fixed bugs.

  • Fixed bugs in user.py.

  • Added iter_blogposts(), first_blog_page() functions for browsing the bloglist.

  • Implemented Blogpost.get_image_urls().

  • Added date_izolator(). Fixed bugs in comments parsing with relative dates.

  • Fixed bug in parsing of Blogpost’s content.

  • Added blog iterator tor User object.

  • Fixed #4 - bug in username parsing.

  • Fixed parsing of censored comments.

  • Added Comment.censored.

  • Comment.registered_user renamed to Comment.registered.

  • Fixed bug which skipped censored comments.

  • Fixed problems with old blogs (different HTML).

  • Implemented #6: .__repr__() for all important classes.

0.2.0

  • Added a lot of features.

  • Fixed broken setup.py.

0.1.0

  • Created.

  • It can be now used to read data from the abclinuxu, but it is incomplete and it will need a lot of work to do.

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

abclinuxuapi-0.4.6.tar.gz (29.3 kB view details)

Uploaded Source

File details

Details for the file abclinuxuapi-0.4.6.tar.gz.

File metadata

File hashes

Hashes for abclinuxuapi-0.4.6.tar.gz
Algorithm Hash digest
SHA256 5c1175c54a9ed86fcf3a46682748f8e63556edd53dd5b0c8f0de45d005e9a279
MD5 72af4b80bab8ee91d721203f858eb631
BLAKE2b-256 daaed4ec5a042e86455bb2bc22908f0aada3c51abf50f1a462d5777101eedc3b

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