mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-21 23:12:50 +08: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