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
import json | |
from collections import OrderedDict | |
userinfo_defaults = OrderedDict([ | |
("steam32", None), | |
("intro", ""), | |
("outro", "") | |
]) |
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
#!/usr/bin/python3.5 | |
#example usage: mp3ytclipper.py "https://www.youtube.com/watch?v=MgxK5vm6lvk" later 44.3 46.3 | |
import sys, re, subprocess, youtube_dl, os | |
if len(sys.argv) != 5: | |
print("usage: mp3ytclipper.py <youtubeurl> <outfilename> <starttime> <endtime>") | |
exit() |