Does is possible to show all comments on youtube

Page 1 of 1 [ 5 posts ] 

pawelk1986
Veteran
Veteran

User avatar

Joined: 2 Apr 2010
Age: 38
Gender: Male
Posts: 2,901
Location: Wroclaw, Poland

11 Jul 2014, 10:54 pm

I know how to do it, but i still required to click "show more" but i wonder does is possible to show all comments at one?



HamtaroCappy
Snowy Owl
Snowy Owl

User avatar

Joined: 23 Jan 2014
Age: 30
Gender: Male
Posts: 151
Location: Arkansas

11 Jul 2014, 11:01 pm

I wish, but it's not.



TallyMan
Veteran
Veteran

User avatar

Joined: 30 Mar 2008
Gender: Male
Posts: 40,061

12 Jul 2014, 3:28 am

I know English isn't your first language, so here is a bit of help. Don't say "Does is possible" say "Is it possible".


_________________
I've left WP indefinitely.


Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 69,377
Location: Over there

12 Jul 2014, 6:25 am

Why on earth would you want (say) all 10,000 comments downloaded at once? 8O
Doesn't it make more sense to display 20 or so on each page and if you want to dig back further, a single click gets 20 more?

If it takes a couple of seconds to fetch 20 comments and there are 5,000 comments in total, that means a delay of over eight minutes before anything is displayed if you download them all at once.

If you want to display more per page, click on the header "ALL COMMENTS (n,nnn)" displayed just under the "Show more" header which expands the clip's description area. (the "(n,nnn)" part is replaced by the actual number of comments)
That gets a display of around 100 comments, not counting sub-comments on those comments, before the "Show more" button appears at the end.


_________________
Giraffe: a ruminant with a view.


DevinNullity
Emu Egg
Emu Egg

Joined: 14 Nov 2015
Posts: 1

14 Nov 2015, 4:19 pm

You can use an AppleScript with the Safari browser. See this Apple Support Communities thread:

https://discussions.apple.com/thread/7337557

The AppleScript by Jacques Rioux:

tell application "Safari" -- the current page must be loaded
repeat
if (do JavaScript "document.getElementById('yt-comments-paginator').offsetParent === null" in document 1) is in {true, missing value} then exit repeat -- this element is hidden or not exists, so no more comments.
do JavaScript "document.getElementById('yt-comments-paginator').getElementsByClassName('show-more')[0].click();" in document 1 -- click on the "Show more" button.
my myDelay()
end repeat
do JavaScript "var myArray = document.getElementsByClassName('load-comments can-reply'); for (var x in myArray) { myArray[x].getElementsByTagName('a')[0].click();}" in document 1 -- click on every "view all .. replies" link
do JavaScript "var myArray = document.getElementsByClassName('comment-text-toggle hid'); for (var x in myArray) { myArray[x].getElementsByTagName('a')[0].click();}" in document 1 -- click on every "Read more" link
end tell

on myDelay()
do shell script "sleep 1"
end myDelay



cron