Skip to main content

Find out exactly when a YouTube video was uploaded — date & time in IST.

Project description

uploadwhen

Find out exactly when a YouTube video was uploaded — date & time across multiple time zones.

A Python CLI tool that extracts upload timestamps from YouTube videos, converts them to IST, US/ET, AU/AEST, JP/JST, and UTC (24-hour format). Also computes upload consistency analytics for any channel.

Built with yt-dlp and rich.


Installation

pip install uploadwhen

Quick Start

uploadwhen "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

Usage

uploadwhen [URL] [OPTIONS]

Options

Flag Short Description
--version -V Show version
--help -h Show help
--json Export results to uploadwhen_results.json
--csv Export results to uploadwhen_results.csv
--analyze Fetch recent uploads and show consistency stats
--count N -n N Number of uploads to analyze (default: 10)
--verbose -v Show detailed yt-dlp output

Examples

# Single video — shows upload date & time
uploadwhen "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

# Analyze a channel's upload consistency (last 10 videos)
uploadwhen "https://www.youtube.com/@theRadBrad" --analyze

# Analyze last 25 uploads from a channel
uploadwhen "https://www.youtube.com/@tseries" --analyze --count 25

# Auto-detect channel from a video URL
uploadwhen "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --analyze

# Export to JSON and CSV
uploadwhen "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --json --csv

Time Zones

Zone Region
IST India / Asia/Kolkata (UTC+05:30)
ET US / New York (DST-aware)
AEST Australia / Sydney (DST-aware)
JST Japan / Tokyo (UTC+09:00)
UTC Reference time

Upload Consistency Analytics

The --analyze flag fetches recent uploads and computes:

Metric Description
Avg gap Average time between uploads
Median gap Middle value of all gaps
Shortest / Longest gap Extremes
Std deviation How much upload timing varies
Consistency score (0–10) Higher = more regular uploads

Gaps under 1 day are shown in hours for clarity.

Use --count N to analyze more or fewer videos:

uploadwhen "https://www.youtube.com/@channel" --analyze --count 50

Requirements

License

MIT

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

uploadwhen-1.0.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

uploadwhen-1.0.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file uploadwhen-1.0.0.tar.gz.

File metadata

  • Download URL: uploadwhen-1.0.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for uploadwhen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 328ca28f1b03b69120df8b1a88ba15176960857b63f87586adda140b661bc23a
MD5 c90a58df4d5cfc74ea36403fe65e619e
BLAKE2b-256 fe748b8bac29dd5811efd8ad824cc3f1be3f03527980ffb7f054a9da7c9770be

See more details on using hashes here.

File details

Details for the file uploadwhen-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: uploadwhen-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for uploadwhen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b778246ae81ac857abe739775e9c7d055d93ceb33937862b10b6982e13c22c0a
MD5 3a5286480232ff295ec91be532d9dce9
BLAKE2b-256 4a59eba0e538a47215f44f4f57fb2a9729f76b0eda084c398ee003241a2a870b

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