Jump to content
UBot Underground

How To Scrape Page In Exbrowser


Recommended Posts

Hello,

 

Im facing a new problem with EB which consist in :

 

1. scraping a user id (sample : iptvuser21 id = 27235)

2. click on a button to delete a user or use mnglines.php?action=user_delete&user_id={#userid}"

 

This was working fine with ubot browser 21 but i can not scrape any information with EB

 

C4M3tP5.png

Edited by Kill3rbko
Link to post
Share on other sites

not sure if this will work - try -

 

plugin command("ExBrowser.dll", "ExBrowser Click", "//li[@class=\"icn_users\"]/a[[@href=\"\"mnglines.php\"]")
 
or
 
plugin command("ExBrowser.dll", "ExBrowser Click", "//li[@class=\"icn_users\"]/a")
 
or
 
plugin command("ExBrowser.dll", "ExBrowser Click", "//li[@class=\"icn_users\"]/a[contains(text(),\'Manage Lines\')]")
 
 
  • Like 1
Link to post
Share on other sites

 

 

 i can not scrape any information with EB

 

what do you mean by that?

 

You need to use xpath/css selectors to scrape or click on elements. If You are using native Ubot studio selectors I am not sure

how well or to what extent they are supported in Exbrowser.

Link to post
Share on other sites

@Sanjeev

 

Thanks for the help.

The 2 last syntax are working for "manage lines" ie refreshing page.

 

My problem is to click delete user in the grid and for that i need to scrape the id of the user and use it in deleting url.

On EB chrome i can not get the source of the table containing these info.

I noticed that when i navigate to this url i can get the info:

https://cms.xtream-codes.com/zv75ble2/userpanel/mnglines.php?action=load_users

P0OIVu9.png

 

in native ubot i can do a page scrape between 2 strings

 

My question is how to do this page scrape with EB ?

 

Thanks again for your time.

Edited by kill3rbko
Link to post
Share on other sites
try the following ..?

 

 alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element", "//div[@class=\"table-icon stats\" and @title = \"{#username}\"]"

 

-------------

 

alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "//div[@class=\"table-icon stats\" and @title = \"{#username}\"]", "attribute"))

 

-----

note:  if the 'username id  'you are trying to scrape - is in the format -  recid ="2"  , then you need to place only the  attribute name here - for example if the user id attribute in the html code is  'recid'  - then the following code might work -

----

 

alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "//div[@class=\"table-icon stats\" and @title = \"{#username}\"]", "recid"))

Link to post
Share on other sites

 

 

On EB chrome i can not get the source of the table containing these info.

 

Have you tried to get the source from chrome dev tools panel?

 

right click on page -> select inspect -> html source code?

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...