Last active
September 29, 2024 13:51
-
-
Save scrapehero/0b6e9ea30c06ae3e8b35a9e48bff98c8 to your computer and use it in GitHub Desktop.
Sitemap to extract details of fixtures of England's premier league from the top bookmakers using webscraper.io chrome extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id":"oddsportal", | |
"startUrl":[ | |
"https://www.oddsportal.com/soccer/england/premier-league/" | |
], | |
"selectors":[ | |
{ | |
"id":"match", | |
"type":"SelectorLink", | |
"parentSelectors":[ | |
"_root" | |
], | |
"selector":"td.name a", | |
"multiple":true, | |
"delay":0 | |
}, | |
{ | |
"id":"odds", | |
"type":"SelectorTable", | |
"parentSelectors":[ | |
"match" | |
], | |
"selector":"div.table-container:nth-of-type(1) table.table-main", | |
"multiple":true, | |
"columns":[ | |
{ | |
"header":"Bookmakers", | |
"name":"Bookmakers", | |
"extract":true | |
}, | |
{ | |
"header":"1", | |
"name":"Home Odds", | |
"extract":true | |
}, | |
{ | |
"header":"X", | |
"name":"Draw Odds", | |
"extract":true | |
}, | |
{ | |
"header":"2", | |
"name":"Away Odds", | |
"extract":true | |
}, | |
{ | |
"header":"Payout", | |
"name":"Payout", | |
"extract":true | |
} | |
], | |
"delay":0, | |
"tableDataRowSelector":"tbody tr", | |
"tableHeaderRowSelector":"thead tr" | |
}, | |
{ | |
"id":"date", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"match" | |
], | |
"selector":"p.date", | |
"multiple":false, | |
"regex":"(?<=\\,)(.*?)(?=,)", | |
"delay":0 | |
}, | |
{ | |
"id":"time", | |
"type":"SelectorText", | |
"parentSelectors":[ | |
"match" | |
], | |
"selector":"p.date", | |
"multiple":false, | |
"regex":".{5}$", | |
"delay":0 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you help by making it take only from 2 bookmakers: bet365 and unibet?