Video¶
- class rjdl.Video(url, quality='720p')¶
This object represents a RadioJvan video.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
urlis equal.New in version 1.0.0.
- Parameters
url (
str) – Video url.quality (
str, optional) – Video quality (‘480p’, ‘720p’ or ‘1080p’).
- artist¶
Video artist.
- Type
str
- name¶
Video name.
- Type
str
- url¶
Video url.
- Type
str
- thumb¶
Video thumbnail url.
- Type
str
- likes¶
Video likes on RadioJavan.
- Type
str
- plays¶
Video plays on RadioJavan.
- Type
str
- date_added¶
Date that video was added on RadioJavan.
- Type
str
- quality¶
Video quality.
- Type
str
- tags¶
Video tags on RadioJavan. Names as keys and urls as values.
- Type
dict
- director¶
Video director. None, if director wasn’t specified.
- Type
dict
- download_link¶
Video direct download link.
- Type
str
- size¶
Size of video direct download link file.
- Type
str
- Raises
ValueError –
ConnectionError –