This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#regex original source http://code.activestate.com/recipes/578284-youtube-playlist-parserextractor/ | |
#fork of https://gist.github.com/fffaraz/f3dcf48ae93b6c04adb9d74b1de711e5 | |
#if you want to stream a yt-playlist with vlc use "python parser.py URLHERE -o playlist.m3u && cvlc --no-video playlist.m3u" | |
import re | |
import requests | |
import argparse |