I've been trying to scrape the following content for days, but for some reason which I can't figure out, it's returning an empty scrape.
The website is this one:
Url: https://www.oddsportal.com/soccer/england/premier-league-2018-2019/brighton-manchester-city-UFOgEYGu/
and basically I need the scraper to click on the "O/U" tab.
Once inside, then it needs to scrape a few informations, which I can easily extract if I'm already inside the tab, but for some reason, if I choose to go inside the tab by either using the "link" or the "element click" selectors, it returns an empty scrape
Here is sitemap in case it helps to illustrate what i mean:
Sitemap:
{
"_id":"fullteste2ou",
"startUrl":[
"https://www.oddsportal.com/soccer/england/premier-league-2018-2019/brighton-manchester-city-UFOgEYGu/"
],
"selectors":[
{
"id":"handicap",
"type":"SelectorText",
"parentSelectors":[
"rows"
],
"selector":"strong",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"over",
"type":"SelectorText",
"parentSelectors":[
"rows"
],
"selector":"span:nth-of-type(3)",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"under",
"type":"SelectorText",
"parentSelectors":[
"rows"
],
"selector":"span:nth-of-type(2)",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"table",
"type":"SelectorElement",
"parentSelectors":[
"click"
],
"selector":"div#odds-data-table.bt-2",
"multiple":false,
"delay":0
},
{
"id":"rows",
"type":"SelectorElement",
"parentSelectors":[
"table"
],
"selector":"div.table-header-light",
"multiple":true,
"delay":0
},
{
"id":"click",
"type":"SelectorElementClick",
"parentSelectors":[
"_root"
],
"selector":"div#odds-data-table.bt-2",
"multiple":false,
"delay":0,
"clickElementSelector":"a[onmousedown='uid(5)._onClick();return false;']",
"clickType":"clickOnce",
"discardInitialElements":"do-not-discard",
"clickElementUniquenessType":"uniqueText"
}
]
}
Many thanks in advance for your help! cheers!