* Show more replies button no longer shows up errorneously
parent
777549a014
commit
0ceed00725
|
@ -44,7 +44,7 @@ comments="$(curl -s 'https://www.youtube.com/youtubei/v1/next?key=AIzaSyAO_FJ2Sl
|
|||
|
||||
jq -r '
|
||||
if (.continuationItemRenderer.continuationEndpoint) then
|
||||
"<div class='"'"'show-more'"'"' data-fun='"'"'more'"'"' data-uwu='"'"'\(.continuationItemRenderer.continuationEndpoint.continuationCommand.token)'"'"'>Load more...</div>"
|
||||
select(.continuationItemRenderer.continuationEndpoint.continuationCommand.token) | "<div class='"'"'show-more'"'"' data-fun='"'"'more'"'"' data-uwu='"'"'\(.continuationItemRenderer.continuationEndpoint.continuationCommand.token)'"'"'>Load more...</div>"
|
||||
else
|
||||
"<div class='"'"'show-more'"'"' data-fun='"'"'replies-more'"'"' data-uwu='"'"'\(.continuationItemRenderer.button.buttonRenderer.command.continuationCommand.token)'"'"'>More replies...</div>"
|
||||
select(.continuationItemRenderer.button.buttonRenderer.command.continuationCommand.token) | "<div class='"'"'show-more'"'"' data-fun='"'"'replies-more'"'"' data-uwu='"'"'\(.continuationItemRenderer.button.buttonRenderer.command.continuationCommand.token)'"'"'>More replies...</div>"
|
||||
end' <<< "$comments" | tail -1
|
||||
|
|
Loading…
Reference in New Issue