https://github.com/theychx/totalsize
Script that uses yt-dlp to calculate total size of all videos in a playlist (also works with single videos).
https://github.com/theychx/totalsize
filesize mediafiles youtube-dl yt-dlp
Last synced: 5 months ago
JSON representation
Script that uses yt-dlp to calculate total size of all videos in a playlist (also works with single videos).
- Host: GitHub
- URL: https://github.com/theychx/totalsize
- Owner: theychx
- License: mit
- Archived: true
- Created: 2019-11-26T08:32:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-22T13:04:39.000Z (over 2 years ago)
- Last Synced: 2025-11-28T06:54:25.666Z (7 months ago)
- Topics: filesize, mediafiles, youtube-dl, yt-dlp
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 83
- Watchers: 4
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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*