Skip to content

Instantly share code, notes, and snippets.

@sysnucleussupport
Last active Dec 22, 2020
Embed
What would you like to do?
Start URL : (URL of the below format)
https://www.flashscore.com/match/88Ufq27O/#odds-comparison;correct-score;full-time
ADD OTHER SIMILAR URLS :
https://www.flashscore.com/match/IJyrn4N5/#odds-comparison;correct-score;full-time
JS Code To REMOVE DATA FROM ALL OTHER ODDS (EXCEPT 'Correct Score') WHICH ARE NOT REQUIRED IN THIS CONFIGURATION FILE :
var elem = document.getElementById('block-correct-score-1hf');elem.parentNode.removeChild(elem);
var elem = document.getElementById('block-correct-score-2hf');elem.parentNode.removeChild(elem);
var elem = document.getElementById('block-oddeven');elem.parentNode.removeChild(elem);
var elem = document.getElementById('block-both-teams-to-score');elem.parentNode.removeChild(elem);
var elem = document.getElementById('block-european-handicap');elem.parentNode.removeChild(elem);
var elem = document.getElementById('block-double-chance');elem.parentNode.removeChild(elem);
var elem = document.getElementById('block-ht-ft');elem.parentNode.removeChild(elem);
var elem = document.getElementById('asian-handicap');elem.parentNode.removeChild(elem);
To capture bet365 CS Values
-----------------------
bookmaker\/16\/[\s\S]*?[\s\S]*?eu="([\d.]*)[^"]*
bookmaker\/16\/[\s\S]*?[\s\S]*?eu="[\s\S]*?([\d]*)(.)([\d][\d])"
FOR OTHER BOOKMAKERS - FIND the NUMBER CORRESPONDING TO THE BOOKMAKER
UNIBET codes would be 5
To capture UNIBET CS Values
-----------------------
bookmaker\/5\/[\s\S]*?[\s\S]*?eu="([\d.]*)[^"]*
bookmaker\/5\/[\s\S]*?[\s\S]*?eu="[\s\S]*?([\d]*)(.)([\d][\d])"
@nizar9500

This comment has been minimized.

Copy link

@nizar9500 nizar9500 commented Dec 22, 2020

Nizar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment