Jump to content



Photo

Find Number "larger Than" On Page And Click It


  • Please log in to reply
3 replies to this topic

#1 myubo

myubo

    Newbie

  • Members
  • Pip
  • 7 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 June 2018 - 07:29 PM

Hey everyone I'm trying to make my bot only join googleplus communities which have more than say 3000 members.  

 

How can I make the bot only click on communes with more than X amount of members?

 

2018_06_11_at_9_28_23_PM.png



#2 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 396 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 June 2018 - 10:49 AM

you need to scrape members number and if it is more than 3000 when click on join or ask loin


bestmacros.jpg


#3 myubo

myubo

    Newbie

  • Members
  • Pip
  • 7 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 June 2018 - 01:14 AM

I've tried a bunch of stuff but I'm just a beginner.  This is the link I'm working on:   https://plus.google.com/s/cars/top

 

If I scrap the innertext # member and compare that to 3000 or more, how do I than click on the join button which is right next to that particular number?

 

 If you could point me to some similar example somewhere that would be awesome 


Edited by myubo, 13 June 2018 - 01:15 AM.


#4 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 396 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 June 2018 - 11:17 AM

click(<jslog=w"*117690152142158738720*">,"Left Click","No")

where the number is the id of the group which can be scraped by code like this

add list to list(%groups,$scrape attribute(<(tagname="a" AND href=w"./communities/*")>,"href"),"Delete","Global")

 

 


bestmacros.jpg





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users