personal-coding / Live-Sports-Arbitrage-Bet-Finder

Automated bot that identifies live sports arbitrage opportunities across FanDuel, DraftKings, and William Hill (Caesars).
201 stars 45 forks source link

Requirement Dependencies #7

Closed edshaw42 closed 1 year ago

edshaw42 commented 1 year ago

Is there an easy way to list a step by step on cloning and installing all dependencies?

edshaw42 commented 1 year ago

I have it running, but it opens two instances of chrome (draftkings) and (fanduel), but I can never login to both. It seems like geolocate only allowed on one at a time, have you experienced this?

personal-coding commented 1 year ago

@edshaw42 During my tests, I was able to complete geolocation on both browsers. One of the two websites requires a program be downloaded to complete the geolocation, while the other completes geolocation in the browser. Is that potentially causing the issue?

edshaw42 commented 1 year ago

@ScrapeWithYuri - figured out that issue, it was the url in the script is prefixed with "IL" for Illinois, once I changed that to my state, I got it to geolocate..

I did run into an issue, I uncommented your code to let it submit the bets itself and I got errors when it would try.

I can try to set this up again tonight and let you know what the errors look like.

Great job on this!

Chealol commented 1 year ago

This is truly Brilliant, this is very well done.

edshaw42 commented 1 year ago

@Chealol does it submit wagers for you?

personal-coding commented 1 year ago

@edshaw42 The IL prefix has now been removed in the code. Also, the submit button codes have been updated slightly. However, your error may be due to the HTML code having been updated since the code was written, which would require that the XPath selectors be updated.

edshaw42 commented 1 year ago

@ScrapeWithYuri awesome, great job. I will give it another shot tonight!

Chealol commented 1 year ago

@edshaw42 It does not but, I basically manually do it when it pops up as quick as possible lol. Still a wonderful job on this @ScrapeWithYuri

edshaw42 commented 1 year ago

Agreed, such an awesome project.

Chealol commented 1 year ago

There was one thing, I couldn't figure out this ModuleNotFoundError: No module named 'undetected_chromedriver.v2' except removing the .v2 then it all works, i am using python 3.10 as well. @ScrapeWithYuri

edshaw42 commented 1 year ago

Yes. Same. Forgot I did that.

On Mon, Feb 13, 2023 at 3:57 PM Chealol @.***> wrote:

There was one thing, I couldn't figure out this ModuleNotFoundError: No module named 'undetected_chromedriver.v2' except removing the .v2 then it all works, i am using python 3.10 as well. @ScrapeWithYuri https://github.com/ScrapeWithYuri

— Reply to this email directly, view it on GitHub https://github.com/ScrapeWithYuri/Live-Sports-Arbitrage-Bet-Finder/issues/7#issuecomment-1428745214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUN4XNSJ3DHVR6CPRPAX7RDWXKU6HANCNFSM6AAAAAAUZPCNDE . You are receiving this because you were mentioned.Message ID: <ScrapeWithYuri/Live-Sports-Arbitrage-Bet-Finder/issues/7/1428745214@ github.com>

personal-coding commented 1 year ago

@Chealol that error occurs likely after downloading the undetected-chromedriver vs. undetected-chromedriver-modified library. The code uses the undetected-chromedriver-modified library, as the distinction was relevant at one point. However, the undetected-chromedriver library is sufficient now, so the .v2 is no longer necessary. I'll update.

Chealol commented 1 year ago

@ScrapeWithYuri Ah, I see I figured it was something like that. Thank you!