Allow users to specify an age limit (fixes #1545)
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 6 Oct 2013 04:06:30 +0000 (06:06 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 6 Oct 2013 04:08:56 +0000 (06:08 +0200)
commit8dbe9899a985a04690e467510c94c14f3314843b
tree137d7cff17d806d180f7763cfa369ceab607759c
parentf4aac741d5c98c4350dda478fa4564144d99d13a
Allow users to specify an age limit (fixes #1545)

With these changes, users can now restrict what videos are downloaded by the intented audience, by specifying their age with --age-limit YEARS .
Add rudimentary support in youtube, pornotube, and youporn.
test/test_age_restriction.py [new file with mode: 0644]
youtube_dl/YoutubeDL.py
youtube_dl/__init__.py
youtube_dl/extractor/common.py
youtube_dl/extractor/pornotube.py
youtube_dl/extractor/youporn.py
youtube_dl/extractor/youtube.py