Skip to main content

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

Project description

totalsize

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

Installation

pip3 install totalsize

Totalsize requires python 3.6+.

Usage

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

See https://github.com/yt-dlp/yt-dlp#format-selection 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.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

totalsize-0.7.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file totalsize-0.7.2.tar.gz.

File metadata

  • Download URL: totalsize-0.7.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for totalsize-0.7.2.tar.gz
Algorithm Hash digest
SHA256 40899b4997355f01086e99cba17af065205e72240f744a9f821261c6f9335b85
MD5 f3eeca226c3e42d4b47952874ab44b0d
BLAKE2b-256 9f49bf9d26817973de51cfc6642364f11a3b86ac1687205586c4c6e14e9d37c9

See more details on using hashes here.

File details

Details for the file totalsize-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: totalsize-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for totalsize-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b1f1d125de2480169442c98c2d5dbfefa0263833903578bcce246c61033457d
MD5 5e481184c267226e7f55eec4298c128e
BLAKE2b-256 63438f2a2fdaf070a3db395b123f8c896fcfff3c8b4efe71cc333e1bdd0c6d7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page