aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/aparat.py
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2015-02-08 17:45:38 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2015-02-08 17:45:38 +0200
commit641eb10d34629c177445dd38e9d3f1f73c4cb92f (patch)
tree069bb0ae4450761e98e9b74c7406e1674c0bbcc0 /youtube_dl/extractor/aparat.py
parent69319969de40f62ccf1c471427d309b6555483f9 (diff)
Use _family_friendly_search for determining age_limit
Diffstat (limited to 'youtube_dl/extractor/aparat.py')
-rw-r--r--youtube_dl/extractor/aparat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/aparat.py b/youtube_dl/extractor/aparat.py
index 5d70758a3..63429780e 100644
--- a/youtube_dl/extractor/aparat.py
+++ b/youtube_dl/extractor/aparat.py
@@ -20,6 +20,7 @@ class AparatIE(InfoExtractor):
'id': 'wP8On',
'ext': 'mp4',
'title': 'تیم گلکسی 11 - زومیت',
+ 'age_limit': 0,
},
# 'skip': 'Extremely unreliable',
}
@@ -55,4 +56,5 @@ class AparatIE(InfoExtractor):
'url': video_url,
'ext': 'mp4',
'thumbnail': thumbnail,
+ 'age_limit': self._family_friendly_search(webpage),
}