aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/sexykarma.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/sexykarma.py b/youtube_dl/extractor/sexykarma.py
index ac7745e74..629499e72 100644
--- a/youtube_dl/extractor/sexykarma.py
+++ b/youtube_dl/extractor/sexykarma.py
@@ -56,6 +56,8 @@ class SexyKarmaIE(InfoExtractor):
d = datetime.datetime.strptime(date, '%B %d, %Y')
upload_date = d.strftime('%Y%m%d')
+ categories = re.findall(r'http://www.sexykarma.com/gonewild/search/video/(?:.+?)"><span>(.*?)</span>', webpage)
+
return {
'id': video_id,
'title': title,
@@ -65,6 +67,7 @@ class SexyKarmaIE(InfoExtractor):
'duration': duration,
'view_count': view_count,
'upload_date': upload_date,
+ 'categories': categories,
}
def _to_seconds(self, timestr):