mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-14 01:07:14 +00:00
Merge pull request #2962 from simonwjackson/patch-1
Update test_age_restriction.py
This commit is contained in:
commit
0d69795014
@ -13,7 +13,7 @@ from youtube_dl import YoutubeDL
|
|||||||
|
|
||||||
|
|
||||||
def _download_restricted(url, filename, age):
|
def _download_restricted(url, filename, age):
|
||||||
""" Returns true iff the file has been downloaded """
|
""" Returns true if the file has been downloaded """
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
'age_limit': age,
|
'age_limit': age,
|
||||||
|
Loading…
Reference in New Issue
Block a user