ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.96k stars 10.01k forks source link

Support Canal Alpha #30421

Open vekin03 opened 2 years ago

vekin03 commented 2 years ago

Checklist

Example URLs

News

TV Shows

The TV channel has several shows available on their website. For example:

Description

This is a regional TV channel in Switzerland. Their website is completely free and no membership is required.

Important: this site was added in the fork yt-dlp so the code already exists to support it! See here for more information.

Thanks!

dirkf commented 2 years ago

The yt-dlp extractor runs as-is. Just copy https://github.com/yt-dlp/yt-dlp/raw/master/yt_dlp/extractor/canalalpha.py into the youtube_dl/extractors directory and add this line to youtube_dl/extractors/extractors.py:

from .canalalpha import CanalAlphaIE

(before the line for CanalPlus to keep the conventional sort order)