Liking cljdoc? Tell your friends :D

qy-upup.sotavideo-ai.core


extract-video-idclj

(extract-video-id url)

Extracts the video ID from a sotavideo.ai URL.

Takes a URL string as input. Returns the video ID as a string, or nil if the URL doesn't match the expected pattern.

Extracts the video ID from a sotavideo.ai URL.

Takes a URL string as input.
Returns the video ID as a string, or nil if the URL doesn't match the expected pattern.
raw docstring

mock-video-metadataclj

(mock-video-metadata video-id)
(mock-video-metadata video-id title)

Generates mock video metadata for testing purposes.

Takes a video ID and an optional title. Returns a map containing mock metadata.

Generates mock video metadata for testing purposes.

Takes a video ID and an optional title.
Returns a map containing mock metadata.
raw docstring

video-urlclj

(video-url video-id)
(video-url video-id format)

Generates a URL for a specific video on sotavideo.ai.

Takes a video ID and optionally a format (e.g., 'mp4', 'webm'). Returns the URL as a string. If no format is provided, the base URL is returned.

Generates a URL for a specific video on sotavideo.ai.

Takes a video ID and optionally a format (e.g., 'mp4', 'webm').
Returns the URL as a string.  If no format is provided, the base URL is returned.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close