User Pass
Home Sign Up Contact Log In
Page:
 
Thunderoo
offline
Link
 
I've made a very basic GLB2 python script which I plan on fleshing out for a while. Currently it's a python script which you just run locally (must have Python, Selenium and BS4), if anyone is interested in it I've set up a private forum where I'll post regular releases and updates (and try and respond to feedback!).

Never used any scouting scripts in GLB1 so it may be useless, need some more experienced users to give it a shot.
 
Thunderoo
offline
Link
 
Ok got a much better deployment system, compiled into an executable so anyone should be able to run it through the command line.
 
InRomoWeTrust
Lead Mod
offline
Link
 
open source?
 
Thunderoo
offline
Link
 
I can do a pastebin of the code for every release (trying to get one out every few days with improvements and fixes).
 
Thunderoo
offline
Link
 
Download link

https://app.box.com/s/2jys0sld4h3s8633rxs5

Instructions

1. Extract this to a suitable folder (ie C:/GLBScouting/).
2. Run command prompt
3. Navigate to this folder (you want to type cd.. until you get to the base C:/ directory then type cd GLBScouting)
4. run with the following command - ScoutingScript "http://glb2.warriorgeneral.com/game/replay/9970/1774854" "Brisbane Bogans" "Regina Rebels" "scout.csv"

Output column order

- Offense Play
- WR_Count
- Offense Team
- Defense Play
- Defense Formation
- Defense Team
- Down
- Distance
- Quarter
- Time
- Play yardage (just 0 for all turnovers)
- Potential turnover flag
- Play Description
- Play link

New

- Unicode bug removed
- End of game is now detected, scouting should never be cut short and will also be faster for games with lower numbers of plays
- Clock time column added
- Play yardage added
- Turnover flag. Note that this just checks for key words and doesn't work out if a fumble was recovered by the offense.
- Quarter progress messaging
 
AirMcMVP
Mod
offline
Link
 
Works pretty well from my testing. Still some issues (OT game cut off) but this is a start!
 
Parab00n
offline
Link
 
Awesome work so far, but I've ran the script twice and it cuts off with 2 minutes left in the 1st QTR and doesn't start back up. I am running off a slow internet connection so that may have something to do with it.
 
AirMcMVP
Mod
offline
Link
 
It locks up on 2 point conversions. That's the only issue I've seen. The next release is supposed to fix that.
 
The WHORE
offline
Link
 
this is on win7 64-bit. The .csv file is not being created.

C:\glbscout\ScoutingScript 0.12>scoutingscript "http://glb2.warriorgeneral.com/g
ame/replay/5146/" "Hartford Hurricanes "Memphis Maniax" "scout2.csv"
[1808:3704:0116/095348:ERROR:chrome_views_delegate.cc(176)] NOT IMPLEMENTED
[1808:3704:0116/095348:ERROResktop_root_window_host_win.cc(746)] NOT IMPLEMENT
ED
[1808:3704:0116/095349:ERROResktop_root_window_host_win.cc(746)] NOT IMPLEMENT
ED
Processing quarter 1
[1808:3704:0116/095418:ERROResktop_root_window_host_win.cc(746)] NOT IMPLEMENT
ED
Processing quarter 2
Processing quarter 3
Processing quarter 4
Traceback (most recent call last):
File "ScoutingScript.py", line 164, in <module>
File "ScoutingScript.py", line 44, in main
IndexError: list index out of range

 
The WHORE
offline
Link
 
I forgot a " after Hurricanes. It's working now. oops.
 
peeti
offline
Link
 
Wow...Im working on Turbojet engines but I have no fckin clue what you guys are talking about and how I could run that script^^
 
Thunderoo
offline
Link
 
Originally posted by Parab00n
Awesome work so far, but I've ran the script twice and it cuts off with 2 minutes left in the 1st QTR and doesn't start back up. I am running off a slow internet connection so that may have something to do with it.


Hmm yeah if it has the same page for about 5 seconds it will stop, might increase it a bit as it won't really affect anyone else (also give a message so you know why it's stopping).

Working on tighter integration with excel (ie you just put a play in a cell somewhere and click a button and it does everything) so those with no cmd line knowledge can run it.
 
Thunderoo
offline
Link
 
Originally posted by Parab00n
Awesome work so far, but I've ran the script twice and it cuts off with 2 minutes left in the 1st QTR and doesn't start back up. I am running off a slow internet connection so that may have something to do with it.


Got a 0.12.1 release up with a fix for the 2 point conversion stuff as well as hopefully a bit more leniency for slower internet connections.

https://app.box.com/s/izogo8oli099d9wuahfg
Edited by Thunderoo on Jan 16, 2014 15:25:14
 
shield.bearer
offline
Link
 
How do you actually load and use this?
 
Stobie
MoD
offline
Link
 
I am getting an error of "selenium.common.exceptions.WebDriverException: u'unknown error: cannot find Chrom binary\n <Driver info: chromedriver=2.8.241075,platform=Windows NT 6.1 SP x86_64"

Any tips?
 
Page:
 


You are not logged in. Please log in if you want to post a reply.