Closed flinch44 closed 2 years ago
May be related but attempting to scrape WHL US Prospect Draft (2021) is failing with nothing but errors:
leagues = "https://www.eliteprospects.com/draft/whl-us-prospect-draft/2021" #@param {type:"string"} leagues = leagues.split(',')
season = "2021-22" #@param {type:"string"} contract_expiry_prefix = "30.4.XXXX" #@param {type:"string"} show_error_links = True #@param {type:"boolean"} make_junior_contracts_to_age_20 = False #@param {type:"boolean"} scrape_international_games = True #@param {type:"boolean"} skip_players_with_blank_dobs = True #@param {type:"boolean"} use_google_drive = False #@param {type:"boolean"} calculate_remaining_eligible_years = False #@param {type:"boolean"} override_contract_for_nhl_prospects = False #@param {type:"boolean"} leagues_for_eligibility = "USports NCAA ACHA" #@param {type:"string"} nhl_contracts = 'Include and set NHL team to playing' #@param ["Skip players with NHL contracts", "Include and set NHL team to playing", "Keep current team as playing"]
Traceback (most recent call last):
File "
Fixed the issue with the WHL draft. I think it was just related to EP changing their site html.
@flinch44 It looks like the draft scraper is correctly pulling players without 2021-22 contracts since the WHL draft looks to be working. Do you have an example draft that it's not working for that I can try out?
Was a fixed pushed to prod for testing? Still getting an error on each player
Traceback (most recent call last):
File "
Whoops, definitely forgot to push the fixes to the Github. Should be fixed now.
Previous versions pulled everyone drafted, but most recent patch has changed to only pulling players currently with a 2021-22 contract regardless of options selected