# odnoklassniki_urls_validator
Library for validating [Odnoklasnsiki](https://ok.ru) urls and brings them to one standart.
# How method works?
1. Add prefix "https://"
2. Change all hostnames to "ok.ru"
# Examples
```python
from odnoklassniki_urls_validator import validate_url
validated_url = validate_url(url='www.ok.ru/group/50582132228315/')
# >> https://ok.ru/group/50582132228315
validated_url = validate_url(url='http://ok.ru/group/50582132228315')
# >> https://ok.ru/group/50582132228315
```
# Installing
```commandline
pip3 install odnoklassniki_urls_validator
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Wiped-Out/odnoklassniki_urls_validator",
"name": "odnoklassniki-urls-validator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,odnoklassniki urls,validation",
"author": "Emir Takhaviev",
"author_email": "tah116emir@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/bf/06/92bcfd4daff344389107fd59f2c1e29edc3c396ea0e4640e5bc1066154b0/odnoklassniki_urls_validator-0.0.1.tar.gz",
"platform": null,
"description": "# odnoklassniki_urls_validator\n\nLibrary for validating [Odnoklasnsiki](https://ok.ru) urls and brings them to one standart.\n\n# How method works?\n\n1. Add prefix \"https://\"\n2. Change all hostnames to \"ok.ru\"\n\n\n# Examples\n\n```python\nfrom odnoklassniki_urls_validator import validate_url\n\nvalidated_url = validate_url(url='www.ok.ru/group/50582132228315/')\n# >> https://ok.ru/group/50582132228315\n\nvalidated_url = validate_url(url='http://ok.ru/group/50582132228315')\n# >> https://ok.ru/group/50582132228315\n```\n\n\n# Installing\n\n```commandline\npip3 install odnoklassniki_urls_validator\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Validator for Odnoklassniki URLs.",
"version": "0.0.1",
"project_urls": {
"Download": "https://github.com/Wiped-Out/odnoklassniki_urls_validator/releases/latest",
"Homepage": "https://github.com/Wiped-Out/odnoklassniki_urls_validator"
},
"split_keywords": [
"python",
"odnoklassniki urls",
"validation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "790c1f1239994804974fd202d1df9bfe743cf606a296045ddb7af61108ee4661",
"md5": "d5090e540fda2df41d622cd047ff8394",
"sha256": "7c0b6ae494402aa9b7e6adbe0ca9efbe98191da151a2865e46ceb9257fa67694"
},
"downloads": -1,
"filename": "odnoklassniki_urls_validator-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d5090e540fda2df41d622cd047ff8394",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7519,
"upload_time": "2023-05-06T12:31:26",
"upload_time_iso_8601": "2023-05-06T12:31:26.625733Z",
"url": "https://files.pythonhosted.org/packages/79/0c/1f1239994804974fd202d1df9bfe743cf606a296045ddb7af61108ee4661/odnoklassniki_urls_validator-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bf0692bcfd4daff344389107fd59f2c1e29edc3c396ea0e4640e5bc1066154b0",
"md5": "6d6b4b53f69d34b1ccebbbbdc7e1fa48",
"sha256": "72956e0ac5f1780a4e3f0b38340c5af0a136e3cfc26afe5ad8a1709b3a5ba47b"
},
"downloads": -1,
"filename": "odnoklassniki_urls_validator-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "6d6b4b53f69d34b1ccebbbbdc7e1fa48",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6578,
"upload_time": "2023-05-06T12:31:29",
"upload_time_iso_8601": "2023-05-06T12:31:29.294592Z",
"url": "https://files.pythonhosted.org/packages/bf/06/92bcfd4daff344389107fd59f2c1e29edc3c396ea0e4640e5bc1066154b0/odnoklassniki_urls_validator-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 12:31:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Wiped-Out",
"github_project": "odnoklassniki_urls_validator",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "odnoklassniki-urls-validator"
}