A python script and scraper for o2cm that checks the entries of a competition against a compiled database of previous o2cm placement histories
The included pickle file right now is up to date with results as of Oct 13, 2016 from the American Dancesport Festival starting from after Aug 03, 2007 at the Seattle Star Ball. I don't have results from that competition or before because the post request is slightly different (event2.asp instead of event3.asp) and didn't think anyone in results before then would be registering for events they had placed out of.
This file is used to check the results from a single style, level, and competitor
The pickle file containing the compressed results of everyone with valid ycn placements that I could find on o2cm results after Seattle Star Ball 07
Contains some shared helper data structures
Scrapes results from all competitions listed on o2cm results page and outputs the comp_res.p pickle file. By default, loads all the results ever. Use python comp_res_scraper.py update
to only update recent results.
Scrapes entries from user-specified event and cross checks it with previous ycn points earned for each person on the entries page
Helper functions shared between the entries and the results scraper
exclusion categories - if any of these strings are in the event name, it will not be included in the results
((Social)|(Teddy)|(Juvenile)|(Junior)|(Jr.)|(Youth)|(Yth.)|(Teen)|(Young)|(Under)|(under)|([0-9]-)|([0-9]+)|(Senior))
((T/S)|(Tea/)|(Stu/)|(Nine Dance)|(Ten Dance)|(Pro)|(Student)|(Mixed)|(WDSF)|(Scholar)|(Rookie)|(Solo)|(Lead)|(Follow)|(Club)|(Formation)|(Showdance)|(Team)|(SS-))
((Polka)|(West Coast)|(Salsa)|(Hustle)|(Salsa)|(Argentine)|(Merengue)|(Lindy)|(Blues)|(Bachata)|(2-Step)|(Country))
If you share a name with another competitor on o2cm, o2cm will not differentiate your results history and your combined results will be reflected in the scraped output file