Skip to main content

API for http://abclinuxu.cz.

Project description

Introduction
============

.. image:: https://badge.fury.io/py/abclinuxuapi.png
:target: https://pypi-hypernode.com/pypi/abclinuxuapi

.. image:: https://img.shields.io/pypi/dm/abclinuxuapi.svg
:target: https://pypi-hypernode.com/pypi/abclinuxuapi

.. image:: https://readthedocs.org/projects/abclinuxuapi/badge/?version=latest
:target: http://abclinuxuapi.readthedocs.org/

.. image:: https://img.shields.io/pypi/l/abclinuxuapi.svg

.. image:: https://img.shields.io/github/issues/Bystroushaak/abclinuxuapi.svg
:target: https://github.com/Bystroushaak/abclinuxuapi/issues

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

Installation
------------
Module is hosted at `PYPI <https://pypi-hypernode.com/pypi/abclinuxuapi/>`_, and
can be installed using `PIP <http://en.wikipedia.org/wiki/Pip_%28package_manager%29>`_:

::

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.10
------
- Fixed comment parsing in case of http://abclinuxu.cz/blog/leos/2007/2/prepis-diskusniho-fora-hw-sekce#31

0.4.9
-----
- Fixed problem with parsing comments on the http://abclinuxu.cz/blog/msk/2016/8/hlada-sa-linux-embedded-vyvojar - there are no links to comments.

0.4.0 - 0.4.8
-------------
- Added badges to README.
- ``Blogpost.comments`` are now by default blank list instead of None.
- Fixed bugs in uploader.
- Parsing of the tags updated.
- Added support for Blog.uid.
- Fixed bugs in tests (new year parsing).
- Added possibility to bypass lazy tag parsing.
- Fixed bug in date parsing function.
- Added support for parsing of more obscure date formats used by articles on abclinuxu.
- Fixed another bug in date parsing function.
- Added `verify=False`, because the SSL library pisses me off.
- Added another special case of parsing the date.
- Fixed another problem with date formats.

0.3.0 - 0.3.11
-------------
- 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.
- Fixed #7 - blogs with opening HTML comments in perex.
- Fixed bug in ``Blogpost._parse_content_tag()``.
- Another attempt to solve shit in old blogs. There are missing tags, crossed tags and a lot of other shitfucks.
- Fixed bug caused by http://abclinuxu.cz/blog/Mostly_IMDB/2008/6/radeon-hd-4850-a-tak-vubec#17
- 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.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.10.tar.gz (30.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for abclinuxuapi-0.4.10.tar.gz
Algorithm Hash digest
SHA256 6c10f1678543c44e73f26cd68a9b52274017550f80ea527208cc31c2bf26662c
MD5 6daf4387a448016bf2dd448d35163e62
BLAKE2b-256 790f2aeeb4bbddd2a6928b7d2c05ff1c8d048b579cec2a43f1d85a4b870f2378

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