downloadMovie#
- hvpy.downloadMovie(id, format, hq=False)[source]#
Download a custom movie that was generated using the
queueMovieAPI endpoint.- Parameters:
id (
Union[int,DataSource]) – Unique movie identifier, returned as a response by thequeueMovieendpoint request.format (
str) – Movie Format (“mp4”, “webm”, or “flv”).hq (
bool) – Download a higher-quality movie file (valid for “mp4” movies only, ignored otherwise). Defaults to False, optional.
- Return type:
References
Examples
>>> from hvpy import downloadMovie >>> downloadMovie(id="h2n6n", format="mp4") b'...'