Skip to content

Instantly share code, notes, and snippets.

@scrapehero
Last active November 23, 2020 22:42
Show Gist options
  • Save scrapehero/29406e6123507d06b06a0dbd572f2675 to your computer and use it in GitHub Desktop.
Save scrapehero/29406e6123507d06b06a0dbd572f2675 to your computer and use it in GitHub Desktop.
Sitemap to extract details of fixtures of England's premier league using webscraper.io chrome extension
{
"_id":"fixtures",
"startUrl":[
"https://s5.sir.sportradar.com/bet365/en/1/season/54571/fixtures"
],
"selectors":[
{
"id":"round",
"type":"SelectorText",
"parentSelectors":[
"_root"
],
"selector":"td.no-padding div.row div",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"element",
"type":"SelectorElement",
"parentSelectors":[
"_root"
],
"selector":"tr.cursor-pointer:nth-of-type(n+3)",
"multiple":true,
"delay":0
},
{
"id":"home team",
"type":"SelectorText",
"parentSelectors":[
"element"
],
"selector":"div.col-xs.text-right div.hidden-xs-up",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"away team",
"type":"SelectorText",
"parentSelectors":[
"element"
],
"selector":"div.col-xs.text-left div.hidden-xs-up",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"time",
"type":"SelectorText",
"parentSelectors":[
"element"
],
"selector":"td.mobile-width-5 div div",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"home odds",
"type":"SelectorText",
"parentSelectors":[
"element"
],
"selector":"td.divide.hidden-xs-up button.odds-normal-content",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"draw odds",
"type":"SelectorText",
"parentSelectors":[
"element"
],
"selector":"td.hidden-xs-up:nth-of-type(5) button.odds-normal-content",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"away odds",
"type":"SelectorText",
"parentSelectors":[
"element"
],
"selector":"td.hidden-xs-up:nth-of-type(6) button.odds-normal-content",
"multiple":false,
"regex":"",
"delay":0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment