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.1.tar.gz (10.0 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.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uploadwhen-1.0.1.tar.gz
  • Upload date:
  • Size: 10.0 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.1.tar.gz
Algorithm Hash digest
SHA256 ecba028d886dc3ca7259242dba0ff8e34a2c10a8d1a4e8144fb802eeca2eb0e7
MD5 24e16d07c3632333b8a1ed9e2ad35eb0
BLAKE2b-256 924019e60a80671f72b7cf80d894a31d529611baa2b2f9e3c9cfc92357f4de4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uploadwhen-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f9010e71ea6f14f60a5bb772e81cb6a8f2b7958a44b942f27613038ca5131b4
MD5 efcbd2bed5226b563839e078d960f0d3
BLAKE2b-256 f8d112be9244c7816db7468717a6754e7f394b792873e5b2af501d94dc547b9f

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