Validator for YouTube URLs.
Project description
youtube_urls_validator
Library for validating YouTube urls and brings them to one standart.
How method works?
- Add prefix "https://"
- Change all hostnames to "www.youtube.com"
Examples
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
pip3 install youtube_urls_validator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for youtube_urls_validator-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3fdc394e971b795106812108b5f8002385febb86c10926867b7e4967a1ecd18 |
|
MD5 | 53ca9c1ad2a4d696ef6a6ef31a6c0560 |
|
BLAKE2b-256 | e434f7cd9e814738a2764af5758218e9e8a9e8cee7c047540060b6b5f10a4707 |
Close
Hashes for youtube_urls_validator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27bf2ab850e974c9b5488e89d327129a0ff980f673848555d27f5ef7e7e45750 |
|
MD5 | 561db1e8cefe4c7f89a4defeebb13da4 |
|
BLAKE2b-256 | 351938c19a20223c010b5501fe60ff076f258f8a630f21a26e4f7cd935ff3bc2 |