Skip to content

Instantly share code, notes, and snippets.

@sysnucleus
Created May 10, 2021 06:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
WebHarvy RegEx strings for selecting BET365 opening/closing odds from FlashScore
Home opening and closing odds
-----------------------------
bet365[\s\S]*?title="([\d\.]+)
bet365[\s\S]*?<span class="\s*"[^>]*>([^<]*)
Draw opening and closing odds
-----------------------------
bet365[\s\S]*?title="[\d\.]+[\s\S]*?title="([\d\.]+)
bet365[\s\S]*?<span class="[\s\S]*?<span class="\s*"[^>]*>([^<]*)
Away opening and closing odds
-----------------------------
bet365[\s\S]*?title="[\d\.]+[\s\S]*?title="[\d\.]+[\s\S]*?title="([\d\.]+)
bet365[\s\S]*?<span class="[\s\S]*?<span class="[\s\S]*?<span class="\s*"[^>]*>([^<]*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment