Bitcoin Forum

Economy => Gambling => Topic started by: sistemista_senior on February 25, 2017, 09:21:59 AM



Title: Help on python BOT to resolve PrimeDice Captcha
Post by: sistemista_senior on February 25, 2017, 09:21:59 AM
Hi
I've starting study python because i'd like to create a simple Primedice BOT.
Googling around it seem that i've to use selenium library to manage the google captcha but i tried without success, somebody other tells that it's new technology introduce by google to resist robots, it it true?
Can anyone help me to code only the login phase?
Below you can find my last tentative.
Thanks a lot

from selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
binary = FirefoxBinary('/usr/lib64/firefox')
browser = webdriver.Firefox(firefox_binary=binary)
url = 'https://primedice.com/api/login'
browser.get(url)
browser.find_element_by_id("recaptcha-token").click()


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: Patatas on February 25, 2017, 09:25:43 AM
Hi
I've starting study python because i'd like to create a simple Primedice BOT.
Googling around it seem that i've to use selenium library to manage the google captcha but i tried without success, somebody other tells that it's new technology introduce by google to resist robots, it it true?
Can anyone help me to code only the login phase?
Below you can find my last tentative.
Thanks a lot
If you have just started with Python,it's too early to write a bot.Get used to the Python way of doing this.By Passing captcha's is bit complicated for a beginner.
Get used to the following libraries :
-Mechanize
-BeautifulSoup
-requests

Start learning stuff here : https://automatetheboringstuff.com/


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: Fortify on February 25, 2017, 11:21:51 AM
It might be easier to work on a different idea, but it depends on the profit margins you're able to make on it. These companies are always re-doing their captcha's when they get cracked, but if you integrated a micro-job service like Amazon Mechanical Turk, you could get real people to answer the captchas for a tiny price.


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: seuntjie on March 02, 2017, 08:32:48 AM
Use the Primedice API, then you don't need tp bypass the captcha: https://primedice.com/api


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: mOgliE on March 02, 2017, 09:38:21 AM
Wahou man
Well that's great to try of course. And having a long term project is always good for motivaton.
But here what you're saying is a bit like "I've started to learn climbing yesterday, could you explain me how to climb Everest?" ^^

As said above, train a bit with the needed libraries first ;)


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: freemanjackal on March 04, 2017, 02:02:51 AM
if it is for free 150 satoshis is not worth it, find a faucet, if it is for gambling with the use of api they provide you dont need to worry about captchas. so what is the bot for?


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: sistemista_senior on March 04, 2017, 11:16:51 PM
Hi freemanjackal
My BOT it's for gambling, so i think i miss something to understand in API. Could you please show me few rows to make login to PD passing username and password?
Thank you very much!


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: HumanBrain on March 04, 2017, 11:23:07 PM
Learning python to create a bot?  :o How about a buy a privet bot from someone else?


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: adaseb on March 05, 2017, 12:09:13 AM
The captcha is generally only if you want to claim the faucet. That and there is also a time limit. You don't need Captcha for betting you just can use their API.

Their seeds changed recently keep that in mind.

But if you want to make some auto solver captcha faucet bot then its just not possible to automate that.


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: seuntjie on March 05, 2017, 10:50:09 AM
Hi freemanjackal
My BOT it's for gambling, so i think i miss something to understand in API. Could you please show me few rows to make login to PD passing username and password?
Thank you very much!

API stands for Application Programming Interface. It's a system to allow your program to interact with their site. It's there so you can make bots. Use the API and log in with your API key.

Learning python to create a bot?  :o How about a buy a privet bot from someone else?

Never buy a bot. Bot's won't ever make you money.


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: Ayers on March 05, 2017, 11:05:08 AM
there are some bot catpcha solver like sniper bot or what it is called, but they do work only with a certain kind of captcha, what about paying human to solve it for you with 2catpcha? it's much easy and it can solve any captcha


Title: Re: Help on python BOT to resolve PrimeDice Captcha
Post by: freemanjackal on March 05, 2017, 08:52:15 PM
go to the api page on primedice there you can find basic information on how to use the api, i am using it for myself you need to specify the api key that you should have activated, this is the way to make a bet with post method
https://api.primedice.com/api/bet/?api_key=your api key
you have also to specify this parameters in the request: amount -> amount to bet,if you want to wager 1 sat send "1" no 0.000... and so on, target: target on wihch you prefer to wager, percent of winning and condition that should be > or <, send the request
hope this can help you