Skip to content

Instantly share code, notes, and snippets.

View xrisk's full-sized avatar
🏴

Rishav Kundu xrisk

🏴
View GitHub Profile
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Derived from https://superuser.com/questions/1567253/how-to-download-chapters-of-a-youtube-video-as-separate-video-files
import subprocess, os, argparse, datetime, re, sys
def get_source_name(download_source: str) -> str: