Replies: 1 comment
|
Tracked in InfinityLoop1308/PipePipeExtractor#90. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Since we don't know exactly when a certain short was uploaded, how about using
uploadTimeFactoidRenderer?
When i go to the
/shortspart of a channel i get this block{ "uploadTimeFactoidRenderer": { "uploadTimeEntity": { "key": "unset_upload_time_entity_key" }, "factoid": { "factoidRenderer": { "value": { "simpleText": "16h" }, "label": { "simpleText": "Ago" }, "accessibilityText": "16 hours ago", "backgroundColorStyle": "BACKGROUND_COLOR_STYLE_COLOR_SAMPLED", "lightThemeColorPalette": { "baseBackground": 4294965488, "raisedBackground": 4294965488, "additiveBackground": 566856261, "textPrimary": 4281737482, "textSecondary": 4285421114, "invertedBackground": 4287584537, "overlayBackground": 3426099466 }, "darkThemeColorPalette": { "baseBackground": 4280029186, "raisedBackground": 4281737482, "additiveBackground": 734628421, "textPrimary": 4294635232, "textSecondary": 4292724396, "invertedBackground": 4293112700, "overlayBackground": 3426099466 }, "position": "FACTOID_POSITION_LAST", "enableColorSampledText": true } } } }The uploadTimeEntity reports "16h ago"
On the individual shorts page there is a similiar block
<div class="ytwFactoidRendererFactoid" role="text" aria-label="17 hours ago"><span class="ytwFactoidRendererValue"><span style="" class="ytAttributedStringHost ytAttributedStringWhiteSpacePreWrap" role="text">17h</span></span><span class="ytwFactoidRendererLabel"><span style="" class="ytAttributedStringHost ytAttributedStringWhiteSpacePreWrap" role="text">Ago</span></span></div>Could we use that to track the order and detect new shorts and then adjust the "what's new" page accordingly?
All reactions