rkn

Check domain/ip address in http://blocklist.rkn.gov.ru database


License
MIT
Install
pip install rkn==0.2

Documentation

Description

This module provide only one function: it check if domain is listed on http://blocklist.rkn.gov.ru rkn can be obtained directly from PyPI, and can be installed with pip:

pip install rkn

You need anti-captcha.com API key for using this module.

Example usage:

>>> from rkn import check_rkn
>>> result, found_in_reestr, success = check_rkn.query("domain.name", "YOUR_API_KEY_HERE")
>>> if found_in_reestr:
>>>     print (result)

If success if False - this mean request was unsuccessful. Rkn reestr ban some IP addresses and did not response to them.