Scrape table row based on value of cell

Guidance is appreciated as I am trying to scrape cell values from a specific row in a table, based on a value in a cell that ensures that I'm using the correct row. I am trying to grab statistics for hockey players in the 2023-24 year from their career table on this page:

Url:Carter Hart (G) Stats, News, Rumors, Bio, Video - Philadelphia Flyers - Yahoo Sports

Sitemap:
{"_id":"goalies","startUrl":["http://hockeypoolhq.com/goalielinks23_24_2.html"],"selectors":[{"id":"link","multiple":true,"parentSelectors":["_root"],"selector":"a","type":"SelectorLink"},{"id":"Name","multiple":false,"parentSelectors":["link"],"regex":"","selector":"span.ys-name","type":"SelectorText"},{"columns":[{"extract":true,"header":"Season","name":"Season"},{"extract":true,"header":"Team","name":"Team"},{"extract":true,"header":"Type","name":"Type"},{"extract":true,"header":"GP","name":"GamesPlayed"},{"extract":true,"header":"GS","name":"GamesStarted"},{"extract":true,"header":"Min","name":"Min"},{"extract":true,"header":"W","name":"Wins"},{"extract":true,"header":"L","name":"Losses"},{"extract":true,"header":"OTL","name":"OTL"},{"extract":true,"header":"GA","name":"GoalsAgainst"},{"extract":true,"header":"GAA","name":"GAAverage"},{"extract":true,"header":"SV","name":"Saves"},{"extract":true,"header":"SA","name":"ShotsAgainst"},{"extract":true,"header":"SV%","name":"Save%"},{"extract":true,"header":"SO","name":"Shutouts"}],"id":"Career Table Stats","multiple":true,"parentSelectors":["link"],"selector":"#Col1-2-GraphStats-Proxy table","tableDataRowSelector":".Fz\(12px\) tr","tableHeaderRowSelector":"tr.Lh\(2\)","type":"SelectorTable"}]}

Something like this. You'll need to add to add the rest of the columns and name them to your needs. But you can't use names shorter than 3 characters, such as GP, W, L.

{"_id":"sports-yahoo-b","startUrl":["https://ca.sports.yahoo.com/nhl/players/7156/?guccounter=1"],"selectors":[{"id":"Name","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"span.ys-name","type":"SelectorText"},{"id":"Season","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"tbody > tr:contains('2023-24') > td:first-of-type","type":"SelectorText"},{"id":"Team","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"tbody > tr:contains('2023-24') > td:nth-of-type(2)","type":"SelectorText"},{"id":"Type","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"tbody > tr:contains('2023-24') > td:nth-of-type(3)","type":"SelectorText"},{"id":"Col 4","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"tbody > tr:contains('2023-24') > td:nth-of-type(4)","type":"SelectorText"},{"id":"Col 5","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"tbody > tr:contains('2023-24') > td:nth-of-type(5)","type":"SelectorText"},{"id":"Col 6","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"tbody > tr:contains('2023-24') > td:nth-of-type(6)","type":"SelectorText"}]}

To create the subsequent columns, just use the same selector but keep incrementing the number at the end of nth-of-type:

tbody > tr:contains('2023-24') > td:nth-of-type(xx)