Beispiel #1
0
def horse_racing():
    df = pd.read_csv('streams.csv')
    resp = make_response(get_sport("Horse Racing", df))
    resp.headers[
        'Link'] = '<http://www.freebets.co.uk/live-horse-racing-streaming>; rel="cannonical"'

    return resp
Beispiel #2
0
def soccer():
    df = pd.read_csv('streams.csv')
    resp = make_response(get_sport("Soccer", df))
    resp.headers[
        'Link'] = '<http://www.freebets.co.uk/football-live-streaming>; rel="cannonical"'

    return resp
Beispiel #3
0
def tennis():
    df = pd.read_csv('streams.csv')
    resp = make_response(get_sport("Tennis", df))
    resp.headers[
        'Link'] = '<http://www.freebets.co.uk/live-tennis-streaming>; rel="cannonical"'

    return resp
Beispiel #4
0
def nfl():
    df = pd.read_csv('streams.csv')

    resp = make_response(get_sport("American Football", df))
    resp.headers[
        'Link'] = '<http://www.freebets.co.uk/live-nfl-streaming>; rel="cannonical"'
    return resp
Beispiel #5
0
def badminton():
    df = pd.read_csv('streams.csv')
    resp = make_response(get_sport("Badminton", df))
    resp.headers[
        'Link'] = '<http://www.freebets.com/live-streaming-sports/badminton>; rel="cannonical"'

    return resp
Beispiel #6
0
def greyhound():
    df = pd.read_csv('streams.csv')
    table = get_sport("Greyhounds racing", df)

    return table
Beispiel #7
0
def golf():
    df = pd.read_csv('streams.csv')
    table = get_sport("Golf", df)

    return table