Jump to content
UBot Underground

Recommended Posts

Hi Guys,
I created a small Upvote bot but It's not fully automated yet and I need some help.

It is for an adult project of mine on Pornhub.
I want the bot to search for a username below a video and upvote its comment.

I noticed that when I select the upvote button of a comment from a specific person it gives it an ID and it works to actually upvote via ubot.
But, how can I scrape the web page for a specific username and upvote its comment automatically?

I don't know if it's a problem to link to NSFW content so I'd rather not do it.

 

We also must be able to use Reddit as an example: https://www.reddit.com/r/AskReddit/comments/7fm8c2/you_get_to_choose_a_skill_at_which_you_will_be/

Let's say I want to search for user "orange_blanket" on the page and I want to upvote its comment?

How do I do that in an automated way?

 

Hope someone can help me out, thx!

Edited by scrapelicious
Link to post
Share on other sites

As you given this link  https://www.reddit.com/r/AskReddit/comments/7fm8c2/you_get_to_choose_a_skill_at_which_you_will_be/ and in search bar when you put orange_blanket and search then see in html page every results there have own link you have to scrape these all url and store in a list and navigate it to one by one in loop and in loop total field take list total function and select that list name in which you store that scraped link.After that navigate it one by one link and you can do upvote in all results.

Link to post
Share on other sites

Many thanks for your reply, but my question is not yet answered.

 

Can you give me an example with some uBot code?

 

Also, I cannot find an up vote link when doing upvotes, I don't see that on Reddit or PH, it seems like it always is a piece Java Code.

Edited by scrapelicious
Link to post
Share on other sites

navigate("https://www.reddit.com/r/AskReddit/search?q=orange_blanket&restrict_sr=1","Wait")
wait(5)
type text(<name="q">,"orange_blanket","Standard")
add list to list(%url,$scrape attribute($element offset(<class="_2XDITKxlj4y3M99thqyCsO">,0),"fullhref"),"Delete","Global")
set(#row,0,"Global")
loop($list total(%url)) {
    navigate($list item(%url,#row),"Wait")
    click($element offset(<class="icon icon-upvote _2Jxk822qXs4DaXwsN7yyHA">,24),"Left Click","No")
    increment(#row)
}

 

This code can help you but not exact what you want you can scrape all link by regular expression or element you select unique element first you check in debugger that all link scraped or not then after you can process in loop.

Edited by hare ram
Link to post
Share on other sites
Thanks for the replies, @bestmacros can you paste it in here and share the url?


 

I cannot recreate it, at least it does not scrape something..

What does it do, what is the goal of your code? To create a list and use the up vote from it?

Link to post
Share on other sites

 

Thanks for the replies, @bestmacros can you paste it in here and share the url?
 
I cannot recreate it, at least it does not scrape something..
What does it do, what is the goal of your code? To create a list and use the up vote from it?

 

yes - you scrape html and then just loop and upvote

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