aboutsummaryrefslogtreecommitdiff
path: root/test/test_age_restriction.py
AgeCommit message (Collapse)Author
2023-02-17Update to ytdl-commit-2dd6c6epukkandan
[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
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2021-07-23[test] Use `pytest` instead of `nosetests` (#482)pukkandan
`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
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* 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
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2015-01-08[test_age_restriction] remove misbehaving testPhilipp Hagemeister
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.
2014-11-16[tests] ModernizePhilipp Hagemeister
2014-05-21Update test_age_restriction.pySimon W. Jackson
typo
2013-11-25[tests] Remove global_setup functionPhilipp Hagemeister
2013-11-20Adapt age restriction tests to new .info.json filenamesPhilipp Hagemeister
2013-10-15Simplify testsPhilipp Hagemeister
* Make them directly executable again * Move common stuff (md5, parameters) to helper * Never import * * General clean up
2013-10-12Add support for single-test tox runsFilippo Valsorda
Use a sintax like tox test.test_download:TestDownload.test_NowVideo to run the specific test on all the tox environments (Python versions)
2013-10-06Allow users to specify an age limit (fixes #1545)Philipp Hagemeister
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.