for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers\VirtualCrawler;
use App\Http\Controllers\VirtualCrawler\CodeForces\CodeForces;
use App\Http\Controllers\VirtualCrawler\ContestHunter\ContestHunter;
use App\Http\Controllers\VirtualCrawler\POJ\POJ;
use App\Http\Controllers\VirtualCrawler\PTA\PTA;
use App\Http\Controllers\VirtualCrawler\Vijos\Vijos;
use App\Http\Controllers\VirtualCrawler\UVa\UVa;
use App\Models\ProblemModel;
use Auth;
class Crawler
{
/**
* Initial
*
* @return Response
App\Http\Controllers\VirtualCrawler\Response
Response
\
*/
public function __construct($name, $action, $con, $cached=false)
if ($name=="CodeForces") {
new CodeForces($action, $con, $cached);
}
if ($name=="ContestHunter") {
new ContestHunter($action, $con, $cached);
if ($name=="POJ") {
new POJ($action, $con, $cached);
if ($name=="PTA") {
new PTA($action, $con, $cached);
if ($name=="Vijos") {
new Vijos($action, $con, $cached);
if ($name=="UVa") {
new UVa($action, $con, $cached);