Reference for youtube_dl_scraper/utils/title_to_slug.py
¶
youtube_dl_scraper.utils.title_to_slug.title_to_slug
¶
Converts a YouTube video title into a URL-friendly slug.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
title
|
str
|
The YouTube video title. |
required |
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
A slug suitable for use in URLs. |