[metacafe] Fix support for age-restricted videos (fixes #1696)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 1 Nov 2013 10:55:35 +0000 (11:55 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 1 Nov 2013 10:56:15 +0000 (11:56 +0100)
commit66cf3ac3426b62fb960b4de770c4ea8203a0e205
tree2cb799bc20c5b773d00bae70a8a993349396fbd6
parent5f1ea943ab6814c2f8ca2a383f990e3f4c9e5f87
[metacafe] Fix support for age-restricted videos (fixes #1696)

The 'Content-Type' header must be set for disabling the family filter.
The 'flashversion' cookie  is only needed for AnyClip videos.
Added tests for standard metacafe videos and for age-restricted videos.
Also set the 'age_limit' field.
youtube_dl/extractor/metacafe.py