-
-
Save sysnucleussupport/60570f77e879fa5a23c615444104234e to your computer and use it in GitHub Desktop.
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
JS code to add a new attribute called 'url' | |
----------------------------------------------------------------------- | |
var elements = document.getElementsByTagName('tr'); | |
for(var i=0; i < elements.length; i++) | |
{ | |
var element = elements[i]; | |
var url = "https://www.mismarcadores.com/partido/" + element.id.replace('g_1_', ''); | |
element.setAttribute("url", url); | |
} | |
RegEx String to capture match URL | |
------------------------------------ | |
url="([^"]*) | |
JS code to click on 'Aline..' / 'Alignment' tab | |
------------------------------------------------ | |
document.getElementById('a-match-lineups').click(); | |
To capture bet365 specific alignment odds: | |
--------------------------------------------------------- | |
"bet365"[\s\S]*?odds_1[\s\S]*?eu="[\s\S]*?([\d]*)(.)([\d][\d])" | |
"bet365"[\s\S]*?odds_X[\s\S]*?eu="[\s\S]*?([\d]*)(.)([\d][\d])" | |
"bet365"[\s\S]*?odds_2[\s\S]*?eu="[\s\S]*?([\d]*)(.)([\d][\d])" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment