Skip to content

Instantly share code, notes, and snippets.

View cattode's full-sized avatar

Damien Cattorini cattode

View GitHub Profile
@cattode
cattode / youtube-grabber.js
Created November 16, 2014 20:38
Grab a Youtube video file information from its Youtube URL in pure JS — Adapated from VLC's youtube.lua
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.