src.themerr.youtube#

src.themerr.youtube.process_youtube(url: str) str | None[source]#

Get URL using youtube_dl.

The function will try to get a playable URL from the YouTube video.

Parameters:
urlstr

The URL of the YouTube video.

Returns:
Optional[str]

The URL of the audio object.

Examples

>>> process_youtube(url='https://www.youtube.com/watch?v=dQw4w9WgXcQ')
...