Skip to main content

Validator for YouTube URLs.

Project description

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube_urls_validator-0.0.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

youtube_urls_validator-0.0.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file youtube_urls_validator-0.0.1.tar.gz.

File metadata

File hashes

Hashes for youtube_urls_validator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b3fdc394e971b795106812108b5f8002385febb86c10926867b7e4967a1ecd18
MD5 53ca9c1ad2a4d696ef6a6ef31a6c0560
BLAKE2b-256 e434f7cd9e814738a2764af5758218e9e8a9e8cee7c047540060b6b5f10a4707

See more details on using hashes here.

File details

Details for the file youtube_urls_validator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_urls_validator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27bf2ab850e974c9b5488e89d327129a0ff980f673848555d27f5ef7e7e45750
MD5 561db1e8cefe4c7f89a4defeebb13da4
BLAKE2b-256 351938c19a20223c010b5501fe60ff076f258f8a630f21a26e4f7cd935ff3bc2

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