VOOZH about

URL: https://apify.com/scrapium/youtube-channel-video-scraper

โ‡ฑ YouTube Channel Video & Shorts Scraper ยท Apify


๐Ÿ‘ YouTube Channel Video & Shorts Scraper avatar

YouTube Channel Video & Shorts Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Scrapium

Scrapium

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a month ago

Last modified

Share

YouTube Channel Video & Shorts Scraper (Apify Actor)

Scrapes long-form videos and/or Shorts from YouTube channel URLs using the same innertube browse flow as manual browsing: channel /about โ†’ browseId, then youtubei/v1/browse with pagination. Shorts are optionally enriched per-video (views, publish date, etc.) via individual Shorts page HTML.

Features

  • Input: one or more channel URLs or @handles (bulk).
  • Scrape modes: videos, shorts, or both.
  • Video date filter: keep videos published on or after endDate through today (same semantics as the original End_date field).
  • Proxy escalation (Apify): starts direct โ†’ on block, datacenter (SHADER) โ†’ residential (RESIDENTIAL), with up to 3 retries on residential; after switching to residential, all following requests use residential for that run.
  • Output: one dataset item per video/short; fields match the original JSON shape plus contentType (video | short) and channelUrl.

Input

FieldTypeDescription
urlsarrayChannel URLs, e.g. https://www.youtube.com/@mrbeast or { "url": "..." }
scrapeTypestringvideos | shorts | both (default both)
endDatestringDatepicker (absolute YYYY-MM-DD or relative e.g. 3 months, 2 weeks from today). Inclusive start of range for videos.
maxResultsintegerMax items per channel (1โ€“500, default 50)
proxyConfigurationobjectApify proxy UI (fallback uses Apify proxy groups when needed)

Shorts detail enrichment uses a fixed concurrency of 10 parallel requests (same as the original script).

Output (per row)

  • author_name, video_title, publish_time, view_count, video_duration, video_url, cover_image_url, video_id
  • contentType: video or short
  • channelUrl: input channel URL used for this row

Logs & dataset (real-time)

  • Logs show high-level steps (connect โ†’ load โ†’ collect) and each row as it is written, with a short title preview โ€” no internal API or implementation details.
  • Dataset: each video or short is push_dataโ€™d as soon as it is ready, so the Apify Output table updates during the run, not only at the end.

Local run

pip install-r requirements.txt
# Set storage root (folder must contain key_value_stores/default/INPUT.json)
setAPIFY_LOCAL_STORAGE_DIR=storage # Windows; use export on Linux/macOS
python -m src

Save INPUT.json as UTF-8 without BOM (some editors add BOM and Apifyโ€™s local parser rejects it).

Build

$apify push

Docker: Dockerfile uses apify/actor-python and CMD ["python", "-m", "src"].

Legal

Only public channel data. You are responsible for compliance with YouTubeโ€™s Terms of Service and applicable laws.

You might also like

Youtube Scraper - Video & Shorts Downloader

saswave/youtube-scraper-video-downloader

Youtube scraper. Extract youtube video and shorts content informations. Collect youtube channel data. Download video file

Youtube Shorts Scraper

crawlerbros/youtube-shorts-scraper

Scrape YouTube Shorts from any channel. Get views, likes, comments count, and complete channel metadata.

2

5.0