|
|
@ -32,6 +32,7 @@ class RedditIE(InfoExtractor):
|
|
|
|
'dislike_count': int,
|
|
|
|
'dislike_count': int,
|
|
|
|
'comment_count': int,
|
|
|
|
'comment_count': int,
|
|
|
|
'age_limit': 0,
|
|
|
|
'age_limit': 0,
|
|
|
|
|
|
|
|
'channel_id': 'videos',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'params': {
|
|
|
|
'params': {
|
|
|
|
'skip_download': True,
|
|
|
|
'skip_download': True,
|
|
|
@ -55,6 +56,7 @@ class RedditIE(InfoExtractor):
|
|
|
|
'dislike_count': int,
|
|
|
|
'dislike_count': int,
|
|
|
|
'comment_count': int,
|
|
|
|
'comment_count': int,
|
|
|
|
'age_limit': 0,
|
|
|
|
'age_limit': 0,
|
|
|
|
|
|
|
|
'channel_id': 'aww',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
# videos embedded in reddit text post
|
|
|
|
# videos embedded in reddit text post
|
|
|
@ -165,6 +167,7 @@ class RedditIE(InfoExtractor):
|
|
|
|
'thumbnails': thumbnails,
|
|
|
|
'thumbnails': thumbnails,
|
|
|
|
'timestamp': float_or_none(data.get('created_utc')),
|
|
|
|
'timestamp': float_or_none(data.get('created_utc')),
|
|
|
|
'uploader': data.get('author'),
|
|
|
|
'uploader': data.get('author'),
|
|
|
|
|
|
|
|
'channel_id': data.get('subreddit'),
|
|
|
|
'like_count': int_or_none(data.get('ups')),
|
|
|
|
'like_count': int_or_none(data.get('ups')),
|
|
|
|
'dislike_count': int_or_none(data.get('downs')),
|
|
|
|
'dislike_count': int_or_none(data.get('downs')),
|
|
|
|
'comment_count': int_or_none(data.get('num_comments')),
|
|
|
|
'comment_count': int_or_none(data.get('num_comments')),
|
|
|
|