|
@@ -106,7 +106,7 @@ public class OddsPortal extends ParserBase implements ParserJoinedFunctions {
|
|
|
|
|
|
|
|
ChromeOptions options = new ChromeOptions();
|
|
ChromeOptions options = new ChromeOptions();
|
|
|
// Fixing 255 Error crashes
|
|
// Fixing 255 Error crashes
|
|
|
- options.addArguments("--no-sandbox");
|
|
|
|
|
|
|
+ // options.addArguments("--no-sandbox");
|
|
|
options.addArguments("--disable-dev-shm-usage");
|
|
options.addArguments("--disable-dev-shm-usage");
|
|
|
|
|
|
|
|
// Options to trick bot detection
|
|
// Options to trick bot detection
|
|
@@ -209,6 +209,7 @@ public class OddsPortal extends ParserBase implements ParserJoinedFunctions {
|
|
|
Mysql.getInstance().addResults(resultsToInsert);
|
|
Mysql.getInstance().addResults(resultsToInsert);
|
|
|
resultsToInsert.clear();
|
|
resultsToInsert.clear();
|
|
|
|
|
|
|
|
|
|
+ driver.close();
|
|
|
driver.quit();
|
|
driver.quit();
|
|
|
}
|
|
}
|
|
|
|
|
|