ㅤ
Project description
USAGE
async def main():
# EXAMPLE USAGE OF METHODS
filelink = "YOUR_VIDEO_LINK"
progress = None # YOUR PROGRESS HOOK FUNCTION
commands = {"quiet": True, "no_warnings": True}
# CALL METHODS USING AWAIT
metadata_result = await UDownloader.metadata(filelink, commands)
extinfos_result = await UDownloader.extracts(filelink, commands)
filename_result = await UDownloader.filename(filelink, commands)
download_result = await UDownloader.download(filelink, commands, progress)
print(metadata_result.result) # metadata_result.errors
print(extinfos_result.result) # extinfos_result.errors
print(filename_result.result) # filename_result.errors
print(download_result.status) # download_result.errors
# DO SOMETHING WITH THE RESULTS
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
utubes-0.0.18.tar.gz
(9.1 kB
view hashes)
Built Distribution
utubes-0.0.18-py3-none-any.whl
(10.8 kB
view hashes)