# youtube_urls_validator
Library for validating YouTube urls and brings them to one standart.
# How method works?
1. Add prefix "https://"
2. Change all hostnames to "www.youtube.com"
# Examples
```python
from youtube_urls_validator import validate_url
validated_url = validate_url(url='youtube.com/youtube/')
# >> https://youtube.com/youtube
validated_url = validate_url(url='youtu.be/youtube')
# >> https://youtube.com/youtube
```
# Installing
```commandline
pip3 install youtube_urls_validator
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Wiped-Out/odnoklassniki_urls_validator",
"name": "youtube-urls-validator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,validation,youtube",
"author": "Emir Takhaviev",
"author_email": "tah116emir@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/e4/34/f7cd9e814738a2764af5758218e9e8a9e8cee7c047540060b6b5f10a4707/youtube_urls_validator-0.0.1.tar.gz",
"platform": null,
"description": "# youtube_urls_validator\n\nLibrary for validating YouTube urls and brings them to one standart.\n\n# How method works?\n\n1. Add prefix \"https://\"\n2. Change all hostnames to \"www.youtube.com\"\n\n\n# Examples\n\n```python\nfrom youtube_urls_validator import validate_url\n\nvalidated_url = validate_url(url='youtube.com/youtube/')\n# >> https://youtube.com/youtube\n\nvalidated_url = validate_url(url='youtu.be/youtube')\n# >> https://youtube.com/youtube\n```\n\n\n# Installing\n\n```commandline\npip3 install youtube_urls_validator\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Validator for YouTube 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",
"validation",
"youtube"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "351938c19a20223c010b5501fe60ff076f258f8a630f21a26e4f7cd935ff3bc2",
"md5": "561db1e8cefe4c7f89a4defeebb13da4",
"sha256": "27bf2ab850e974c9b5488e89d327129a0ff980f673848555d27f5ef7e7e45750"
},
"downloads": -1,
"filename": "youtube_urls_validator-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "561db1e8cefe4c7f89a4defeebb13da4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7853,
"upload_time": "2023-05-06T13:32:22",
"upload_time_iso_8601": "2023-05-06T13:32:22.598455Z",
"url": "https://files.pythonhosted.org/packages/35/19/38c19a20223c010b5501fe60ff076f258f8a630f21a26e4f7cd935ff3bc2/youtube_urls_validator-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e434f7cd9e814738a2764af5758218e9e8a9e8cee7c047540060b6b5f10a4707",
"md5": "53ca9c1ad2a4d696ef6a6ef31a6c0560",
"sha256": "b3fdc394e971b795106812108b5f8002385febb86c10926867b7e4967a1ecd18"
},
"downloads": -1,
"filename": "youtube_urls_validator-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "53ca9c1ad2a4d696ef6a6ef31a6c0560",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7091,
"upload_time": "2023-05-06T13:32:24",
"upload_time_iso_8601": "2023-05-06T13:32:24.971041Z",
"url": "https://files.pythonhosted.org/packages/e4/34/f7cd9e814738a2764af5758218e9e8a9e8cee7c047540060b6b5f10a4707/youtube_urls_validator-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 13:32:24",
"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": "youtube-urls-validator"
}