projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e7dc4
)
[anysex] Implement age_limit
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 1 Sep 2014 20:58:59 +0000
(22:58 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 1 Sep 2014 20:58:59 +0000
(22:58 +0200)
youtube_dl/extractor/anysex.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/anysex.py
b/youtube_dl/extractor/anysex.py
index adeacba01b3bd77a501076f80757898ac090a3e1..bc64423a3f69cd3407701e7b02df333a4f7e628c 100644
(file)
--- a/
youtube_dl/extractor/anysex.py
+++ b/
youtube_dl/extractor/anysex.py
@@
-21,6
+21,7
@@
class AnySexIE(InfoExtractor):
'description': 'md5:de9e418178e2931c10b62966474e1383',
'categories': ['Erotic'],
'duration': 270,
+ 'age_limit': 18,
}
}
@@
-43,7
+44,6
@@
class AnySexIE(InfoExtractor):
duration = parse_duration(self._search_regex(
r'<b>Duration:</b> (\d+:\d+)', webpage, 'duration', fatal=False))
-
view_count = int_or_none(self._html_search_regex(
r'<b>Views:</b> (\d+)', webpage, 'view count', fatal=False))
@@
-57,4
+57,5
@@
class AnySexIE(InfoExtractor):
'categories': categories,
'duration': duration,
'view_count': view_count,
+ 'age_limit': 18,
}