Jump to content
UBot Underground

Scrape Youtube Comments Exbrowser


Recommended Posts

Contact Dan through his support system.. He will help you with that..If it is possible.

 

Unfortunately not. This is a "how to code" question. Which is perfect for the Ubot forum or the ExBrowser facebook group.

Support is for technical problems and issues. Not for individual coding challenges. 

 

You can't call the microsoft Visual Studio support and ask them how to write a method that extracts data from somewhere.

That's what their consultants are for. And they charge for that.

 

Regards

Dan

  • Like 1
Link to post
Share on other sites
I do not have Exbrowser at the moment, but you will want to use an Xpath similar to this

 

 

//div[@id=main' and @class='style-scope ytd-comment-renderer]

 

 

Also to get more that 20, you will need to scroll down by however much is required, as Youtube uses lazy loading. Javascript is needed for this. Along these lines..

 

 

loop(100) { run javascript("var inc = document.body.scrollHeight/100; window.scrollBy(0,inc);") }

 

 

You can probably repeat this loop to  get more comments, but I am not sure how you test to know if you have  scrolled down enough to capture them all.

Edited by charliefinale
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...