I'm struggling with an XPath query inside of a Google Sheets IMPORTXML function. I'm trying to get a table from this site. Using only //tr apparently gives me all table rows from the site. Since I want a specific table I need the table id to drill down the results.
The table id (and class) is as follows:
<table class="leaguetable sortable table detailed-table fixed-wide-table" id="page_competition_1_block_competition_tables_7_block_competition_form_table_1_table">
See my current function and query here.
=IMPORTXML("https://us.soccerway.com/national/england/premier-league/20182019/regular-season/r48730/","//table[@id='page_competition_1_block_competition_tables_7_block_competition_form_table_1_table']/tr")
Using this formula in the spreadsheet gives me #N/A and the error message Imported content is empty.
I tested the query using a Chrome extension and it gave me the desired results. But unfortunately, the table does not show up in my spreadsheet.

