yt-dlp-android

Embeds yt-dlp in Android apps for YouTube downloading with Chaquopy or process integration.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/hightemp/offline_tube --skill yt-dlp-android
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yt-dlp-android
Source: https://github.com/hightemp/offline_tube/tree/main/.github/skills/yt-dlp-android
Command: npx skills add https://github.com/hightemp/offline_tube --skill yt-dlp-android

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides Android developers to embed yt-dlp so they can download and manage YouTube videos offline without depending on desktop scripts or yt-dlp CLI processes.

Core Features & Use Cases

  • Chaquopy and process approaches: Presents both embedded interpreter setups and standalone binary flows with logging, progress hooks, and metadata bridges tailored to Android services and workers.
  • Format selection and metadata: Explains selector syntax, format dict fields, and sanitized metadata shapes needed for UI previews and download choices.
  • Error handling and dependencies: Covers yt-dlp exception types, retry strategies, dependency recommendations, and storage/notification considerations for reliable background downloads.
  • Use Case: Build the Offline Tube downloader that extracts video info, chooses target quality, and streams progress updates while handling geo, availability, and PO token errors.

Quick Start

Use the yt-dlp Android integration guide to configure Chaquopy, set a safe format selector, and request metadata for a sample YouTube video.

Frequently Asked Questions about yt-dlp-android

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I embed yt-dlp into an Android app for offline video downloads?

You can embed yt-dlp into Android applications using Chaquopy or process-based integration patterns to manage format selection, metadata scraping, and background downloads without relying on desktop scripts or CLI processes.

Does Chaquopy work with yt-dlp to download YouTube videos on Android?

Yes, Chaquopy works with yt-dlp by providing an embedded Python interpreter setup within Android applications, enabling you to execute yt-dlp scripts directly and manage logging, progress hooks, and metadata bridges tailored to Android services.

How do I handle yt-dlp errors like geo-restrictions and PO token issues during Android downloads?

Handle yt-dlp errors on Android by implementing robust exception handling for geo, availability, and PO token errors, utilizing retry strategies, and managing dependency recommendations for reliable resumable background downloads.

What is the best way to select video formats and scrape metadata with yt-dlp on Android?

The best way to select formats and scrape metadata is using yt-dlp's selector syntax and format dict fields within your Android app to produce sanitized metadata shapes needed for UI previews and target quality download choices.

Can I stream download progress updates to an Android UI while using yt-dlp?

Yes, you can stream download progress updates to an Android UI by setting up progress hooks within the Chaquopy or process-based integration patterns, bridging yt-dlp logging and progress data directly to Android services and workers.