woob.capabilities.video
¶
- class BaseVideo(id='', url=NotLoaded, backend=None)[source]¶
Bases:
BaseImage
Represents a video.
This object has to be inherited to specify how to calculate the URL of the video from its ID.
- Variables:
url – (
str
) urltitle – (
str
) File titleext – (
str
) File extensionmime_type – (
str
) MIME Typeauthor – (
str
) File authordescription – (
str
) File descriptiondate – (
date
,datetime
) File publication datelast_update – (
date
,datetime
) Last update or last modified date (default: Not available)size – (
int
) File size in bytes (default: Not available)rating_max – (
int
,float
) Maximum rating (default: Not available)license – (
str
) License namensfw – (
bool
) Is this Not Safe For Work (default: False)thumbnail – (
Thumbnail
) Thumbnail of the imagedata – (
bytes
) Data of imageduration – (
timedelta
) file duration