aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_age_restriction.py
Commit message (Collapse)AuthorAgeFilesLines
* Update to ytdl-commit-2dd6c6epukkandan2023-02-171-7/+12
| | | | | | | | | | [YouTube] Avoid crash if uploader_id extraction fails https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772 Except: * 295736c9cba714fb5de7d1c3dd31d86e50091cf8 [jsinterp] Improve parsing * 384f632e8a9b61e864a26678d85b2b39933b9bae [ITV] Overhaul ITV extractor * 33db85c571304bbd6863e3407ad8d08764c9e53b [feat]: Add support to external downloader aria2p
* [cleanup] Consistent style for file headspukkandan2022-06-251-1/+2
|
* [cleanup] Sort importspukkandan2022-04-121-1/+2
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-2/+0
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [test] Use `pytest` instead of `nosetests` (#482)pukkandan2021-07-231-2/+2
| | | | `nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099 and will stop working in py 3.10 as can be seen in #480
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-1/+1
| | | | | | | | | * All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
* [skip travis] renamingUnknown2020-09-021-1/+1
| | | to avoid using same folder when using pip install for example
* [test_age_restriction] remove misbehaving testPhilipp Hagemeister2015-01-081-5/+0
| | | | We now test for the age_limit being set right in test_download, so we don't need more than two tests for the actual age limit handling.
* [tests] ModernizePhilipp Hagemeister2014-11-161-1/+2
|
* Update test_age_restriction.pySimon W. Jackson2014-05-211-1/+1
| | | typo
* [tests] Remove global_setup functionPhilipp Hagemeister2013-11-251-2/+1
|
* Adapt age restriction tests to new .info.json filenamesPhilipp Hagemeister2013-11-201-1/+1
|
* Simplify testsPhilipp Hagemeister2013-10-151-4/+6
| | | | | | | * Make them directly executable again * Move common stuff (md5, parameters) to helper * Never import * * General clean up
* Add support for single-test tox runsFilippo Valsorda2013-10-121-1/+1
| | | | | | Use a sintax like tox test.test_download:TestDownload.test_NowVideo to run the specific test on all the tox environments (Python versions)
* Allow users to specify an age limit (fixes #1545)Philipp Hagemeister2013-10-061-0/+53
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.