Greyhound Mystique

Any markets not covered in the other boards
Post Reply
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

Once i've tested it on some horse races i'll put it on here
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

Here is a little sheet that shows the Weight of Money for 9 selections, so it can be used on Australian and english greyhounds, as well as any Horse racing.

Capture.JPG

I have been demonstrating a strategy that this can come in useful for all night long, Obviously not going to give the strategy away but shouldn't be to hard for the smart ones to figure out.

Hope you find it helpful.

Weight of Money Charts for Greyhounds.xlsx
Merry Christmas.
You do not have the required permissions to view the files attached to this post.
User avatar
Realrocknrolla
Posts: 1910
Joined: Fri Jun 05, 2020 7:15 pm

MemphisFlash wrote:
Thu Dec 17, 2020 11:35 pm
Here is a little sheet that shows the Weight of Money for 9 selections, so it can be used on Australian and english greyhounds, as well as any Horse racing.


Capture.JPG


I have been demonstrating a strategy that this can come in useful for all night long, Obviously not going to give the strategy away but shouldn't be to hard for the smart ones to figure out.

Hope you find it helpful.


Weight of Money Charts for Greyhounds.xlsx

Merry Christmas.
Did you lay Banjo Bobby?
dvwooly
Posts: 24
Joined: Fri Feb 07, 2014 10:42 pm

This spreadsheet is just the WOM% in a pie chart?
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

Yes
Archery1969
Posts: 4478
Joined: Thu Oct 24, 2019 8:25 am

Nice one Memphis. :D
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

Capture.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
The Silk Run
Posts: 983
Joined: Mon May 14, 2018 12:53 am

Well done MEMF. Concept to delivery ...

Stay safe
Minnie LAI
elofan0
Posts: 405
Joined: Fri Jan 13, 2017 4:44 pm

Looks good Thanks Memphis :D
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

i'm playing with it at min, might have an update to original sheet, trying to find sweet spot on weight of money before the labels apppear.
elofan0
Posts: 405
Joined: Fri Jan 13, 2017 4:44 pm

look forward :D
dvwooly
Posts: 24
Joined: Fri Feb 07, 2014 10:42 pm

PeterLe wrote:
Mon Mar 09, 2020 11:32 am
spreadbetting wrote:
Wed Jan 22, 2020 3:42 pm
Bog wrote:
Wed Jan 22, 2020 3:13 pm

Code: Select all

import re
import requests
from bs4 import BeautifulSoup
from requests_html import HTMLSession


def extract_times(input):
    times_regex = re.compile(r'Best: (.....)sLast: (.....)s')
    best_times_regex = re.compile(r'Best: (.....)s')
    match = times_regex.search(input)
    best_match = best_times_regex.search(input)
             
    if match:
        if float(match.group(2)) < float(match.group(1)):
            return float(match.group(1))
        else:        
            return round((float(match.group(1))+float(match.group(2)))/2,2)
            
    if best_match:
        return float(best_match.group(1))
    
    return 100

session = HTMLSession()
baseUrl = "https://www.sportinglife.com"
str="/greyhounds/racecards/20"

res = requests.get("https://www.sportinglife.com/greyhounds/racecards")
soup=BeautifulSoup(res.text,"html.parser")
summary=soup.find_all("a", class_="")

x=0
for link in soup.find_all('a'):
    link = link.get('href')
    
    if str in link:
        res = session.get(baseUrl+link)
        soup=BeautifulSoup(res.text,"html.parser")
        race = soup.find_all('h1')[1].get_text()
        distance =soup.find(class_='gh-racecard-summary-race-class gh-racecard-summary-always-open').get_text()
        summary=soup.find_all(class_="gh-racing-runner-key-info-container")
        Runners = dict()

        for link in summary:
            Trap= link.find(class_="gh-racing-runner-cloth").get_text()
            Name =re.sub(r'\(.*\)', '',link.find(class_="gh-racing-runner-greyhound-name").get_text())
            Average_time = extract_times(link.find(class_="gh-racing-runner-greyhound-sub-info").get_text())
            Runners[Average_time]= Trap+'. '+Name


        if bool(Runners) == True and ('OR' in distance or 'A' in distance):

            x = sorted(((k,v) for k,v in Runners.items()))

            if (x[1][0]-x[0][0]) >=0.1:
                
                timeDiff =round((x[1][0]-x[0][0]),2)
                print(f"{race},{x[0][1]}, class {distance}, time difference {timeDiff}")
                
SB Thanks for posting this code. Just run it and it looks good!
(For anyone new to Python, I had to :

PIP Install request
PIP Install requests_html

From terminal to get it running
When i run the Python code i get an error ... Trap= link.find(class_="gh-racing-runner-cloth").get_text()
AttributeError: 'NoneType' object has no attribute 'get_text'

Im a newbie on python .... I looked at the site and it looks like the value isn't a number :(

is anyone able to help. google couldn't help me :(
User avatar
MemphisFlash
Posts: 2335
Joined: Fri May 16, 2014 10:12 pm

what is that code and what does it do?
spreadbetting
Posts: 3140
Joined: Sun Jan 31, 2010 8:06 pm

I think it just grabbed the times from the sporting Life site in line with what archery was originally doing with the race times. Maybe they've changed the website layout if it no longer works as it was just scaping the pages and output a runner if it met the criteria.

The code and format etc is posted on page 21 of this thread, haven't run or looked at the code for ages as it wasn't a winner. Just stuck with my old bots for now.
dvwooly
Posts: 24
Joined: Fri Feb 07, 2014 10:42 pm

Thanks for the explanation, Ill try to learn a bit more and scrape a different site .... could take me a year or two :)
Post Reply

Return to “Other Betfair Sports Trading markets”