[nba] Improve _VALID_URL regex (fixes #4387)

Allows for optional trailing / or /index.html