Skip to main content

Totalsize uses yt-dlp to calculate total size of all videos in a playlist

Project description


Script that uses yt-dlp to calculate total size of all videos in a playlist (also works with single videos).


pip3 install totalsize

Totalsize requires python 3.6+.


usage: totalsize [-h] [-f FORMAT_FILTER] [-m] [-n] [-r NUM] [-c FILE]
                 [--media] [--size] [--duration] [--views] [--likes] [--dislikes] [--percentage]
                 [--cookies FILE] URL

See for details on formats.

Specify the -m option for additional info on each video.

Specify the -n option to suppress output of progress info.

When specifying any of the raw data options, data will always be printed in this order:

media, size, duration, views, likes, dislikes, percentage

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

totalsize-0.7.0.tar.gz (8.4 kB view hashes)

Uploaded source

Built Distribution

totalsize-0.7.0-py3-none-any.whl (7.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page