Skip to content

Instantly share code, notes, and snippets.

import mss
import mss.tools
import datetime
import time
import pysftp as sftp
count = 0
while count < 100000000:
with mss.mss() as sct:
@graz68a
graz68a / screen.py
Last active February 6, 2020 09:59
import mss
import mss.tools
import datetime
import time
import pysftp as sftp
count = 0
while count < 100000000:
with mss.mss() as sct:
import mss
import mss.tools
import datetime
import time
import pysftp as sftp
count = 0
while count < 100000000:
with mss.mss() as sct:
import mss
import mss.tools
import datetime
import time
import pysftp as sftp
count = 0
while count < 100000000:
with mss.mss() as sct:
Hello
in point 9,10,11,12 the script should calculate this
30.12.2018 Premier League Manchester United 4 - 1 Bournemouth 1.37 5.11 8.39
26.12.2018 Premier League Tottenham 5 - 0 Bournemouth 1.34 5.31 9.12
22.12.2018 Premier League Bournemouth 2 - 0 Brighton 1.92 3.56 4.16
19.12.2018 EFL Cup Chelsea 1 - 0 Bournemouth 1.34 5.03 8.89
15.12.2018 Premier League Wolverhampton 2 - 0 Bournemouth 2.05 3.35 3.94
@graz68a
graz68a / gist:bb17b3539c4ff5a63964cac0df3c86c9
Created January 2, 2019 07:33
england|premier league|Bournemouth:Watford|3|12|9|7|6|9|5|6| 0|2|0|2
Hello
I have this match
19:45 Bournemouth - Watford 2.62 3.49 2.68
the script return this
england|premier league|Bournemouth:Watford|3|12|9|7|6|9|5|6|0|2|0|2
I checked latest 4 digits (9,10,11,12) |0|2|0|2 , these are wrong the correct string should be
|2|0|1|2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><title>Live Asian Odds - Lat 200 Started games. For Live Betting!</title><meta name="description" content="Asian Odds, Handicap Lines and Totals from started Games - For Live Betting!"><meta name="keywords" content="asian odds, asianodds, asian handicap, asianhandicap, asian handicap betting, hangcheng, asian handicap odds, asian betting odds, odds, odds comparison, spreads, live betting, livebetting, bookmakers, bookies, asian bookmakers, asianbookie, under, over"><meta name="classification" content="asian odds, asianodds, asian handicap, asianhandicap, asian handicap odds, odds comparison, picks, predictions, betting, gambling, soccer, football"><meta name="robots" content="index,follow"><meta name="y_key" content="39bfd89960630167"><meta name="verify-v1" content="WQjw1k5e39UQhIDCuMXNsPg0sDidtuesqbSDLcKfxcs="><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equi
@graz68a
graz68a / data_20181219_085406.txt
Created December 19, 2018 09:03
problem description
001|19/12/2018|08:30|Heidelberg United:South Melbourne|-0.25:+0.25|1.700B:2.160R|-0.25:+0.25|1.960:1.880|3.25:3.25|2.010R:1.810B|1.850:1.970
002|19/12/2018|08:30|Minerva Punjab FC:Mohun Bagan AC|0R:0B|1.860:1.980|-0.25:+0.25|2.060:1.780|2:2|2.020R:1.800B|1.920:1.900
003|19/12/2018|04:01|Komazawa University:Osaka University of Physical Education|+1:-1|2.010B:1.830R|+1:-1|2.020:1.820|3.5:3.5|1.890B:1.930R|2.050:1.770
004|19/12/2018|04:01|Juntendo University:Hosei University|0:0|1.850B:1.990R|0:0|1.870:1.970|3.5:3.5|1.900B:1.920R|2.080:1.740
005|18/12/2018|23:00|Cienciano:Carlos A. Mannucci|0R:0B|1.990:1.810|-0.25:+0.25|1.980:1.820|3:3|1.970R:1.830B|1.950:1.850
006|18/12/2018|21:00|Santos de Nasca:Alianza Universidad|+1.5R:-1.5B|1.740:2.060|+1.25:-1.25|1.870:1.930|3.5:3.5|2.020R:1.780B|1.870:1.930
007|18/12/2018|20:45|Porto:Moreirense|-2:+2|2.040R:1.880B|-2:+2|1.870:2.050|3.25:3.25|2.050B:1.850R|2.110:1.800
008|18/12/2018|20:00|US Orleans:Paris Saint Germain|+2.5R:-2.5B|2.040:1.880|+2.25:-2.25|2.020:1.900|3.75R:
Hello
it's not working, I will try to explain why
this is the code of the page now at 14:33 CET
https://gist.github.com/graz68a/d9a5caabe03d6e6f0bb8efad6bd23058
If I execute the code I receive this
001|11/12/2018|14:00|Croatia U18:Montenegro U18|-1B:+1R|1.780:2.060|-0.75:+0.75|1.920:1.880|2.5:2.5|1.910R:1.910B|1.690:2.120
002|11/12/2018|14:00|FC Pune City:FC Goa|+0.75R:-0.75B|1.980:1.860|+0.5:-0.5|1.920:1.920|3:3|2.190R:1.660B|1.900:1.920
<script type="text/javascript">
</script>
<html>
<head>
<title>Live Asian Odds by Asianodds.com - Next 50 games in asian betting market</title>
<meta name="description" content="Asianodds / Asian Handicap Odds / Asianodds.com provides you with real time asian odds and asian handicaps for soccer and other sports from the asian betting market. Find first the odds with Asianodds.com - ">
<meta name="keywords" content="asian odds, asianodds, asian handicap, asianhandicap, asian handicap betting, hangcheng, asian handicap odds, asian betting odds, odds, odds comparison, spreads, live betting, livebetting, bookmakers, bookies, asian bookmakers, asianbookie, under, over">
<meta name="classification" content="asian odds, asianodds, asian handicap, asianhandicap, asian handicap odds, odds comparison, picks, predictions, betting, gambling, soccer, football">
<meta name="robots" content="index,follow">