Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 2.64 KB

README.md

File metadata and controls

46 lines (32 loc) · 2.64 KB

Project archived

yt-dlp now has native integration with SponsorBlock and so we will no longer be maintaining this project. If you still want to use SponSkrub either seperately, or with yt-dlp, use the upstream version instead

SponSkrub

This is a fork of sponskrub primarily intended for use with yt-dlp

Main Changes

  • Provide windows binary (only x86 for now)
  • All sections are included by default and all switches are changed to --exclude-
  • Removed youtube-dl-sponskrub since yt-dlp has direct sponskrub integraion

PS: I am not familar enough in DLang to add features or resolve issues (unless the issue is specific to this fork). It is probably better to make the request in faissaloo/sponskrub. I will merge any commits made there into this fork.

Description

SponSkrub is a command line utility for removing sponsors from downloaded Youtube videos.

FFmpeg and FFprobe are required for this application to work. Additionally, libcurl.dll is necessary for windows. A copy of libcurl x86 is provided along with the releases.

It makes use of the SponsorBlock API and I'd recommend installing the extension and maybe contributing some sponsorship times when you're ever bored.

You can build sponskrub by running dub build.

Usage

sponskrub [options] [--] video_id input_filename output_filename

Options

-h                     Display help
-chapter               Mark sections as chapters rather than removing them
-exclude-sponsors      Do not remove sponsors
-exclude-intros        Do not remove introductions
-exclude-outros        Do not remove outros
-exclude-interactions  Do not remove interactions
-exclude-selfpromo     Do not remove self-promotion
-exclude-nonmusic      Do not remove non-music portions of music videos
-proxy                 Route all trafic through this proxy
-no-id                 Searches for sponsor data by the partial hash of the
                       video id instead of directly requesting it
-no-keep-date          Do not give the output file the same modification date
                       as the input file
-api-url               Specify the url where the API is located, defaults to
                       sponsor.ajay.app