-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArchivedGroundStatsFetcher.py
78 lines (70 loc) · 2.81 KB
/
ArchivedGroundStatsFetcher.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
'''
overall d+n
overall d+n bat 1st
overall d+n bowl 1st
overall d/d ... ...
overall d/n ... ...d
'''
##overall d+n batting team url
'''http://stats.espncricinfo.com/ci/engine/ground/57127.html?class=2;filter=advanced;orderby=default;team_view=bat;template=results;type=aggregate'''
'''http://stats.espncricinfo.com/ci/engine/ground/
57127
.html?class=
2
;filter=advanced;
orderby=
default;
team_view=
bat;
template=results;
type=
aggregate'''
##overall d+n batting team overall figures
''' Span Mat Won Lost Tied NR W/L Runs Wkts Balls Ave RPO
overall 1973-2019 68 65 65 0 3 1 31135 929 37805 33.51 4.94
'''
##overall d+n batting team overall summary (countries)
'''
Overall summary
GroupingAscending Span Mat Won Lost Tied NR W/L Runs Wkts Balls Ave RPO
Australia 1975-2018 15 8 6 0 1 1.333 3458 88 4079 39.29 5.08 view innings
Bangladesh 2005-2017 3 0 2 0 1 0 677 26 839 26.03 4.84 view innings
England 1973-2019 47 28 17 0 2 1.647 11181 301 12881 37.14 5.2 view innings
India 1974-2017 15 5 9 0 1 0.555 3077 104 3881 29.58 4.75 view innings
New Zealand 1975-2015 7 3 4 0 0 0.75 1775 53 2198 33.49 4.84 view innings
Pakistan 1978-2019 11 3 7 0 1 0.428 2368 87 3227 27.21 4.4 view innings
South Africa 1998-2017 9 3 6 0 0 0.5 2005 72 2527 27.84 4.76 view innings
Sri Lanka 1975-2017 12 5 7 0 0 0.714 2879 82 3258 35.1 5.3 view innings
U.S.A. 2004-2004 1 0 1 0 0 0 137 10 256 13.7 3.21 view innings
West Indies 1973-2017 13 9 4 0 0 2.25 3054 81 3831 37.7 4.78 view innings
Zimbabwe 1999-2004 3 1 2 0 0 0.5 524 25 828 20.96 3.79 view innings
'''
##overall d+n batting bat/bowl 1st
'''
matches batting first 1973-2019 68 26 39 0 3 0.666 16807 512 20232 32.82 4.98
matches fielding first 1973-2019 68 39 26 0 3 1.5 14328 417 17573 34.35 4.89
'''
##last 2 yrs d+n batting team url
'''http://stats.espncricinfo.com/ci/engine/ground/57127.html?class=2;filter=advanced;orderby=default;spanmax1=29+May+2019;spanmin1=29+May+2017;spanval1=span;template=results;type=aggregate'''
'''
http://stats.espncricinfo.com/ci/engine/ground/
57127
.html?
class=2;
filter=advanced;
orderby=default;
spanmax1=29+May+2019;spanmin1=29+May+2017;
spanval1=span;
template=results;
type=aggregate
'''
##overall bowling team
'''http://stats.espncricinfo.com/ci/engine/ground/57127.html?class=2;filter=advanced;orderby=default;team_view=bowl;template=results;type=aggregate'''
##View innings by innings list
##Totals in terms of batting team switch totals
##Ordered by start date (ascending)
'''http://stats.espncricinfo.com/ci/engine/ground/57127.html?class=2;filter=advanced;orderby=start;template=results;type=aggregate;view=innings'''
# View match results
# Totals in terms of batting team switch totals
# Ordered by start date (ascending)
'''http://stats.espncricinfo.com/ci/engine/ground/57127.html?class=2;filter=advanced;orderby=start;template=results;type=aggregate;view=results'''