You need youtube-dl and ffmpeg.
ytmp3.sh <video url>
#include <sys/types.h> | |
#include <sys/ptrace.h> | |
#include <sys/signalfd.h> | |
#include <sys/wait.h> | |
#include <err.h> | |
#include <errno.h> | |
#include <signal.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
// Create an image in HTML with the ID "catimg" | |
document.getElementById("catimg").style.display = "none"; | |
function getcat() { | |
let rURL = "http://aws.random.cat/meow"; | |
let r = new XMLHttpRequest(); | |
r.open("GET", rURL); | |
r.responseType = "json"; | |
r.send(); |
You need youtube-dl and ffmpeg.
ytmp3.sh <video url>
import urllib.request | |
import json | |
import sys | |
import os | |
user = sys.argv[1] | |
url = "https://api.github.com/users/" + user + "/repos" | |
urllib.request.urlretrieve(url, "json.json") |