Skip to main content

A library for collecting video data from YouTube.

Project description

dacquaviva-youtube-collector

Python library for collecting YouTube video data and downloading thumbnails.

Installation

pip install dacquaviva-youtube-collector

Quick Start

from youtube_collector import YouTubeClient

# Initialize (uses YOUTUBE_API_KEY environment variable)
client = YouTubeClient()

# Fetch videos from 7 days ago
videos = client.fetch_videos_by_publish_date(days_ago=7)

# Download thumbnails
paths = client.download_thumbnails_bulk(videos)

# Save metadata to CSV
client.save_to_csv(videos, "dataset.csv")

API Key Setup

export YOUTUBE_API_KEY=your_api_key

Get your key at Google Cloud Console

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

dacquaviva_youtube_collector-0.2.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

dacquaviva_youtube_collector-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file dacquaviva_youtube_collector-0.2.0.tar.gz.

File metadata

File hashes

Hashes for dacquaviva_youtube_collector-0.2.0.tar.gz
Algorithm Hash digest
SHA256 428e79c3cc4ac2c19e528a6a94f97e4e63462b98b026d4929a858f96516bf2ce
MD5 605d98da2d4f4615009ccf949c6ffe02
BLAKE2b-256 de3541379192edfe228344883662ec195f6c50c8dfe96445462f64c8b423f088

See more details on using hashes here.

File details

Details for the file dacquaviva_youtube_collector-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dacquaviva_youtube_collector-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ee5c03a9bc8e62e40387a37558c1961dcd293ac253d0ae62a8acfee14fdb814
MD5 615ac7f2385a48aa70302a581e9eab48
BLAKE2b-256 a3895afb98282f2b97094dcbdfcdadf354e60291bfb78fd61927928e0b9f8b9e

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