* Show more replies button no longer shows up errorneously

This commit is contained in:
Dominika Liberda 2021-07-21 01:18:39 +00:00
parent 777549a014
commit 0ceed00725

View file

@ -44,7 +44,7 @@ comments="$(curl -s 'https://www.youtube.com/youtubei/v1/next?key=AIzaSyAO_FJ2Sl
jq -r ' jq -r '
if (.continuationItemRenderer.continuationEndpoint) then 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 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 end' <<< "$comments" | tail -1