Jump to content
UBot Underground

scraping usernames


Recommended Posts

<div class="card-header d-flex flex-row"><ch-profile-avatar type="medium" _nghost-cwh-c99=""><div _ngcontent-cwh-c99="" class="avatar medium ng-star-inserted"><img _ngcontent-cwh-c99="" alt="Avatar" class="rounded-circle mx-auto" src="../assets/default-avatar.jpeg"><!----><!----></div><!----></ch-profile-avatar><div class="user ng-star-inserted"><h5>Bee17</h5><p>@Bee17</p></div><!----><div class="ml-auto"><div class="d-flex flex-row justify-content-end"><p class="time">21m ago</p><i class="fas options fa-ellipsis-h ng-star-inserted"></i><!----></div><!----></div><!----></div>

 

Thats the div i need scraped as you can see it says @bee17 thats what I want to scrape but everything i do gives a error (Object reference not set to an instance on an object)  im using Exbrowser btw 

add item to list(%gdfdgf,$plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://div[@class=\"user ng-star-inserted\"]", "innertext"),"Don\'t Delete","Global")

 

Link to post
Share on other sites

Try :-
set(#scrape,"<div class=\"card-header d-flex flex-row\"><ch-profile-avatar type=\"medium\" _nghost-cwh-c99=\"\"><div _ngcontent-cwh-c99=\"\" class=\"avatar medium ng-star-inserted\"><img _ngcontent-cwh-c99=\"\" alt=\"Avatar\" class=\"rounded-circle mx-auto\" src=\"../assets/default-avatar.jpeg\"><!----><!----></div><!----></ch-profile-avatar><div class=\"user ng-star-inserted\"><h5>Bee17</h5><p>@Bee17</p></div><!----><div class=\"ml-auto\"><div class=\"d-flex flex-row justify-content-end\"><p class=\"time\">21m ago</p><i class=\"fas options fa-ellipsis-h ng-star-inserted\"></i><!----></div><!----></div><!----></div>","Global")
alert($plugin function("ExBrowser.dll", "$ExBrowser Generic Xpath Parser", #scrape, "x://div[@class=\"user ng-star-inserted\"]", "innerText", ""))
or ping me
Ping me on my mail -harebot357@gmail.com i will guide you how you can find right x path. 

Edited by hare ram
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...