Finish LiveThreadService
Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
+271
@@ -0,0 +1,271 @@
|
||||
{
|
||||
"kind": "Listing",
|
||||
"data": {
|
||||
"modhash": null,
|
||||
"dist": 2,
|
||||
"children": [
|
||||
{
|
||||
"kind": "t3",
|
||||
"data": {
|
||||
"approved_at_utc": null,
|
||||
"subreddit": "live",
|
||||
"selftext": "",
|
||||
"author_fullname": "t2_test1",
|
||||
"saved": false,
|
||||
"mod_reason_title": null,
|
||||
"gilded": 0,
|
||||
"clicked": false,
|
||||
"title": "test title",
|
||||
"link_flair_richtext": [],
|
||||
"subreddit_name_prefixed": "r/live",
|
||||
"hidden": false,
|
||||
"pwls": 6,
|
||||
"link_flair_css_class": null,
|
||||
"downs": 0,
|
||||
"thumbnail_height": 140,
|
||||
"top_awarded_type": null,
|
||||
"hide_score": false,
|
||||
"name": "t3_test1",
|
||||
"quarantine": false,
|
||||
"link_flair_text_color": "dark",
|
||||
"upvote_ratio": 0.9,
|
||||
"author_flair_background_color": null,
|
||||
"subreddit_type": "public",
|
||||
"ups": 22,
|
||||
"total_awards_received": 0,
|
||||
"media_embed": {
|
||||
"content": "\n<div class=\"psuedo-selftext\">\n <iframe src=\"//www.redditmedia.com/live/15nfp4mtfbo14/embed\" height=\"500\"></iframe>\n</div>\n",
|
||||
"width": 710,
|
||||
"scrolling": false,
|
||||
"height": 500
|
||||
},
|
||||
"thumbnail_width": 140,
|
||||
"author_flair_template_id": null,
|
||||
"is_original_content": false,
|
||||
"user_reports": [],
|
||||
"secure_media": {
|
||||
"event_id": "15nfp4mtfbo14",
|
||||
"type": "liveupdate"
|
||||
},
|
||||
"is_reddit_media_domain": false,
|
||||
"is_meta": false,
|
||||
"category": null,
|
||||
"secure_media_embed": {
|
||||
"content": "\n<div class=\"psuedo-selftext\">\n <iframe src=\"//www.redditmedia.com/live/15nfp4mtfbo14/embed\" height=\"500\"></iframe>\n</div>\n",
|
||||
"width": 710,
|
||||
"scrolling": false,
|
||||
"media_domain_url": "https://www.redditmedia.com/mediaembed/test1",
|
||||
"height": 500
|
||||
},
|
||||
"link_flair_text": "LIVE THREAD",
|
||||
"can_mod_post": false,
|
||||
"score": 22,
|
||||
"approved_by": null,
|
||||
"author_premium": true,
|
||||
"thumbnail": "default",
|
||||
"edited": false,
|
||||
"author_flair_css_class": null,
|
||||
"author_flair_richtext": [],
|
||||
"gildings": {},
|
||||
"content_categories": null,
|
||||
"is_self": false,
|
||||
"mod_note": null,
|
||||
"created": 1600288651.0,
|
||||
"link_flair_type": "text",
|
||||
"wls": 6,
|
||||
"removed_by_category": null,
|
||||
"banned_by": null,
|
||||
"author_flair_type": "text",
|
||||
"domain": "reddit.com",
|
||||
"allow_live_comments": false,
|
||||
"selftext_html": null,
|
||||
"likes": null,
|
||||
"suggested_sort": null,
|
||||
"banned_at_utc": null,
|
||||
"url_overridden_by_dest": "https://www.reddit.com/live/15nfp4mtfbo14/",
|
||||
"view_count": null,
|
||||
"archived": false,
|
||||
"no_follow": false,
|
||||
"is_crosspostable": true,
|
||||
"pinned": false,
|
||||
"over_18": false,
|
||||
"all_awardings": [],
|
||||
"awarders": [],
|
||||
"media_only": false,
|
||||
"can_gild": true,
|
||||
"spoiler": false,
|
||||
"locked": false,
|
||||
"author_flair_text": null,
|
||||
"treatment_tags": [],
|
||||
"visited": false,
|
||||
"removed_by": null,
|
||||
"num_reports": null,
|
||||
"distinguished": null,
|
||||
"subreddit_id": "t5_32o7w",
|
||||
"mod_reason_by": null,
|
||||
"removal_reason": null,
|
||||
"link_flair_background_color": "",
|
||||
"id": "test1",
|
||||
"is_robot_indexable": true,
|
||||
"report_reasons": null,
|
||||
"author": "TestUser",
|
||||
"discussion_type": null,
|
||||
"num_comments": 1,
|
||||
"send_replies": true,
|
||||
"whitelist_status": "all_ads",
|
||||
"contest_mode": false,
|
||||
"mod_reports": [],
|
||||
"author_patreon_flair": false,
|
||||
"author_flair_text_color": null,
|
||||
"permalink": "/r/live/comments/test1/test_title/",
|
||||
"parent_whitelist_status": "all_ads",
|
||||
"stickied": false,
|
||||
"url": "https://www.reddit.com/live/15nfp4mtfbo14/",
|
||||
"subreddit_subscribers": 24501,
|
||||
"created_utc": 1600259851.0,
|
||||
"num_crossposts": 0,
|
||||
"media": {
|
||||
"event_id": "15nfp4mtfbo14",
|
||||
"type": "liveupdate"
|
||||
},
|
||||
"is_video": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "t3",
|
||||
"data": {
|
||||
"approved_at_utc": null,
|
||||
"subreddit": "live",
|
||||
"selftext": "",
|
||||
"author_fullname": "t2_test1",
|
||||
"saved": false,
|
||||
"mod_reason_title": null,
|
||||
"gilded": 0,
|
||||
"clicked": false,
|
||||
"title": "test title",
|
||||
"link_flair_richtext": [
|
||||
{
|
||||
"e": "text",
|
||||
"t": "LIVE THREAD CLOSED | No further updates."
|
||||
}
|
||||
],
|
||||
"subreddit_name_prefixed": "r/live",
|
||||
"hidden": false,
|
||||
"pwls": 6,
|
||||
"link_flair_css_class": "diss",
|
||||
"downs": 0,
|
||||
"thumbnail_height": 140,
|
||||
"top_awarded_type": null,
|
||||
"hide_score": false,
|
||||
"name": "t3_test2",
|
||||
"quarantine": false,
|
||||
"link_flair_text_color": "dark",
|
||||
"upvote_ratio": 0.97,
|
||||
"author_flair_background_color": null,
|
||||
"subreddit_type": "public",
|
||||
"ups": 71,
|
||||
"total_awards_received": 0,
|
||||
"media_embed": {
|
||||
"content": "\n<div class=\"psuedo-selftext\">\n <iframe src=\"//www.redditmedia.com/live/15nfp4mtfbo14/embed\" height=\"500\"></iframe>\n</div>\n",
|
||||
"width": 710,
|
||||
"scrolling": false,
|
||||
"height": 500
|
||||
},
|
||||
"thumbnail_width": 140,
|
||||
"author_flair_template_id": null,
|
||||
"is_original_content": false,
|
||||
"user_reports": [],
|
||||
"secure_media": {
|
||||
"event_id": "15nfp4mtfbo14",
|
||||
"type": "liveupdate"
|
||||
},
|
||||
"is_reddit_media_domain": false,
|
||||
"is_meta": false,
|
||||
"category": null,
|
||||
"secure_media_embed": {
|
||||
"content": "\n<div class=\"psuedo-selftext\">\n <iframe src=\"//www.redditmedia.com/live/15nfp4mtfbo14/embed\" height=\"500\"></iframe>\n</div>\n",
|
||||
"width": 710,
|
||||
"scrolling": false,
|
||||
"media_domain_url": "https://www.redditmedia.com/mediaembed/itulo6",
|
||||
"height": 500
|
||||
},
|
||||
"link_flair_text": "LIVE THREAD CLOSED | No further updates.",
|
||||
"can_mod_post": false,
|
||||
"score": 71,
|
||||
"approved_by": null,
|
||||
"author_premium": true,
|
||||
"thumbnail": "https://b.thumbs.redditmedia.com/rZKNaYfha47BqSqVTn2S7WGm5-ydloMOqz3Oqli87aU.jpg",
|
||||
"edited": false,
|
||||
"author_flair_css_class": null,
|
||||
"author_flair_richtext": [],
|
||||
"gildings": {},
|
||||
"content_categories": null,
|
||||
"is_self": false,
|
||||
"mod_note": null,
|
||||
"created": 1600288621.0,
|
||||
"link_flair_type": "richtext",
|
||||
"wls": 6,
|
||||
"removed_by_category": null,
|
||||
"banned_by": null,
|
||||
"author_flair_type": "text",
|
||||
"domain": "reddit.com",
|
||||
"allow_live_comments": true,
|
||||
"selftext_html": null,
|
||||
"likes": null,
|
||||
"suggested_sort": "new",
|
||||
"banned_at_utc": null,
|
||||
"url_overridden_by_dest": "https://www.reddit.com/live/15nfp4mtfbo14/",
|
||||
"view_count": null,
|
||||
"archived": false,
|
||||
"no_follow": false,
|
||||
"is_crosspostable": true,
|
||||
"pinned": false,
|
||||
"over_18": false,
|
||||
"all_awardings": [],
|
||||
"awarders": [],
|
||||
"media_only": false,
|
||||
"link_flair_template_id": "9b12fc60-ff01-11e3-b179-12313b0a9e38",
|
||||
"can_gild": true,
|
||||
"spoiler": false,
|
||||
"locked": false,
|
||||
"author_flair_text": null,
|
||||
"treatment_tags": [],
|
||||
"visited": false,
|
||||
"removed_by": null,
|
||||
"num_reports": null,
|
||||
"distinguished": null,
|
||||
"subreddit_id": "t5_32o7w",
|
||||
"mod_reason_by": null,
|
||||
"removal_reason": null,
|
||||
"link_flair_background_color": "#f5f5f5",
|
||||
"id": "test2",
|
||||
"is_robot_indexable": true,
|
||||
"report_reasons": null,
|
||||
"author": "TestUser",
|
||||
"discussion_type": null,
|
||||
"num_comments": 34,
|
||||
"send_replies": true,
|
||||
"whitelist_status": "all_ads",
|
||||
"contest_mode": false,
|
||||
"mod_reports": [],
|
||||
"author_patreon_flair": false,
|
||||
"author_flair_text_color": null,
|
||||
"permalink": "/r/live/comments/test2/test_title/",
|
||||
"parent_whitelist_status": "all_ads",
|
||||
"stickied": false,
|
||||
"url": "https://www.reddit.com/live/15nfp4mtfbo14/",
|
||||
"subreddit_subscribers": 24501,
|
||||
"created_utc": 1600259821.0,
|
||||
"num_crossposts": 0,
|
||||
"media": {
|
||||
"event_id": "15nfp4mtfbo14",
|
||||
"type": "liveupdate"
|
||||
},
|
||||
"is_video": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"after": null,
|
||||
"before": null
|
||||
}
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"kind": "Listing",
|
||||
"data": {
|
||||
"modhash": null,
|
||||
"dist": null,
|
||||
"children": [
|
||||
{
|
||||
"kind": "LiveUpdate",
|
||||
"data": {
|
||||
"body": "test 1",
|
||||
"name": "LiveUpdate_fc44f204-f964-11ea-b148-0e2e56a0425f",
|
||||
"mobile_embeds": [],
|
||||
"author": "testuser1",
|
||||
"embeds": [],
|
||||
"created": 1600431071.0,
|
||||
"created_utc": 1600402271.0,
|
||||
"body_html": "<div class=\"md\"><p>test 1</p>\n</div>",
|
||||
"stricken": true,
|
||||
"id": "fc44f204-f964-11ea-b148-0e2e56a0425f"
|
||||
}
|
||||
}
|
||||
],
|
||||
"after": null,
|
||||
"before": null
|
||||
}
|
||||
}
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"kind": "Listing",
|
||||
"data": {
|
||||
"modhash": null,
|
||||
"dist": null,
|
||||
"children": [
|
||||
{
|
||||
"kind": "LiveUpdate",
|
||||
"data": {
|
||||
"body": "test 2",
|
||||
"name": "LiveUpdate_5e46cd94-f968-11ea-9a6a-0e1933241e7d",
|
||||
"mobile_embeds": [],
|
||||
"author": "testuser1",
|
||||
"embeds": [],
|
||||
"created": 1600432524.0,
|
||||
"created_utc": 1600403724.0,
|
||||
"body_html": "<div class=\"md\"><p>test 2</p>\n</div>",
|
||||
"stricken": true,
|
||||
"id": "5e46cd94-f968-11ea-9a6a-0e1933241e7d"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "LiveUpdate",
|
||||
"data": {
|
||||
"body": "test 1",
|
||||
"name": "LiveUpdate_fc44f204-f964-11ea-b148-0e2e56a0425f",
|
||||
"mobile_embeds": [],
|
||||
"author": "testuser1",
|
||||
"embeds": [],
|
||||
"created": 1600431071.0,
|
||||
"created_utc": 1600402271.0,
|
||||
"body_html": "<div class=\"md\"><p>test 1</p>\n</div>",
|
||||
"stricken": true,
|
||||
"id": "fc44f204-f964-11ea-b148-0e2e56a0425f"
|
||||
}
|
||||
}
|
||||
],
|
||||
"after": null,
|
||||
"before": null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user