const BaseExtractor = require('./base');

class CasinoGuru extends BaseExtractor {
  constructor() { super(); this.patterns = [/casino\.guru/]; }
  getExtractCode() { return String.raw`
(function(){var R=[],S={};for(var im of document.querySelectorAll('img[alt]')){if(R.length>=25)break;var a=(im.alt||'').trim();if(!/casino/i.test(a))continue;if(/^(menu|nav|icon|avatar)/i.test(a.substring(0,6)))continue;var m=a.match(/(.+?)[^a-zA-Z]*Casino[^a-zA-Z]*Logo$/i);if(!m)continue;var br=m[1].trim();if(br.length<2||S[br])continue;S[br]=true;R.push({name:br,link:'',bonus:''});}return R.slice(0,25);})()`; }
} module.exports=CasinoGuru;
