-
-
Save sysnucleussupport/472f7afc93c61116b5ec93f97c01ab15 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
Advanced Miner Options : | |
Low, 4, 10, 1 | |
// Code to enable follow links from match listings page | |
var elements = document.getElementsByTagName('div'); | |
for(var i=0; i < elements.length; i++) | |
{ | |
var element = elements[i]; | |
var url = "https://www.flashscore.com/match/" + element.id.replace('g_1_', ''); | |
element.setAttribute("url", url); | |
} | |
// RegEx to follow links to load match details page | |
url="([^"]*) | |
bet365 '1' OPENING | |
href="\/bookmaker\/16\/[^"]*"\s*target="[^"]*"\s*title="([^(?:"|»)]*)[^>]*>[^>]*>([^<]*) | |
bet365 '1' CLOSING | |
"bet365"[\s\S]*?>([\d]*)(.)([\d][\d])< | |
bet365 'X' OPENING | |
href="\/bookmaker\/16\/[^"]*"\s*target="[^"]*"\s*title="[\s\S]*?href="\/bookmaker\/16\/[^"]*"\s*target="[^"]*"\s*title="([^(?:"|»)]*)[^>]*>[^>]*>([^<]*) | |
bet365 'X' CLOSING | |
"bet365"[\s\S]*?>[\d]*\.[\d][\d]<[\s\S]*?>([\d]*)(.)([\d][\d])< | |
bet365 '2' OPENING | |
href="\/bookmaker\/16\/[^"]*"\s*target="[^"]*"\s*title="[\s\S]*?href="\/bookmaker\/16\/[^"]*"\s*target="[^"]*"\s*title="[\s\S]*?href="\/bookmaker\/16\/[^"]*"\s*target="[^"]*"\s*title="([^(?:"|»)]*)[^>]*>[^>]*>([^<]*) | |
bet365 '2' CLOSING | |
"bet365"[\s\S]*?>[\d]*\.[\d][\d]<[\s\S]*?>[\d]*\.[\d][\d]<[\s\S]*?>([\d]*)(.)([\d][\d])< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment