Skip to content

opentube.shorts

Classes

Short

opentube.shorts.Short

Represents a YouTube Short video and provides methods to extract its metadata.

Property Index

Properties

author

Returns the author of the short video.

Returns

  • Type: Dict[str, str]
    • Author of the short video.

date

Returns the date of publishing of the short video.

Returns

  • Type: str
    • Date of publishing of the short video.

description

Returns the description of the short video.

Returns

  • Type: str
    • Description of the short video.

genre

Returns the genre of the short video.

Returns

  • Type: str
    • Genre of the short video.

likes

Returns the likes count of the short video.

Returns

  • Type: str
    • Likes count of the short video.

regions_allowed

Returns the regions allowed for the short video.

Returns

  • Type: List[str]
    • List of regions allowed for the short video.

thumbnail

Returns the thumbnail of the short video.

Returns

  • Type: str
    • Thumbnail url of the short video.

title

Returns the title of the short video.

Returns

  • Type: str
    • Title of the short video.

views

Returns the view count of the short video.

Returns

  • Type: int
    • View count of the short video.