youtube.js: more flexible, configurable scraper
commit3a0b3d19abedfe6ea076c249f9070f63f7dc8b75
authorJohn Foerch <jjfoerch@earthlink.net>
Sat, 7 Nov 2009 17:06:24 +0000 (7 12:06 -0500)
committerJohn Foerch <jjfoerch@earthlink.net>
Sat, 7 Nov 2009 19:47:55 +0000 (7 14:47 -0500)
treee6f902596880a63d635094b6f7432356a8b8db12
parent8aadcdf572145c38a183a0ba94dd2bffd681e33e
youtube.js: more flexible, configurable scraper

removed variable youtube_formats

added variable youtube_scrape_function

This patch provides the ability to compose a scraper which can, for
example, scrape the one best available quality video, instead of
all available qualities.  This way, a person who always wants the
best quality no matter what need not be bothered by a prompt to
choose from among options.
modules/page-modes/youtube.js