1
0
generated from mirzaev/pot

1 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
830ba25b8d production mode 2025-03-06 05:36:38 +07:00
2 changed files with 239 additions and 237 deletions

View File

@@ -175,7 +175,7 @@ final class interneturok extends core
if (!empty($accounts)) { if (!empty($accounts)) {
// Initialized accounts // Initialized accounts
/* if (shuffle($accounts)) { */ if (shuffle($accounts)) {
// Shuffled accounts // Shuffled accounts
foreach ($accounts as $account) { foreach ($accounts as $account) {
@@ -319,7 +319,7 @@ final class interneturok extends core
continue; continue;
} }
} }
/* } */ }
} }
// Exit (fail) // Exit (fail)
@@ -642,7 +642,8 @@ final class interneturok extends core
); );
return $this->browser->sendAsync($request) return $this->browser->sendAsync($request)
->then(function ($response) use ($homework) { ->then(
function ($response) use ($homework) {
// Sended the request and received the response // Sended the request and received the response
// Initializing the lesson // Initializing the lesson
@@ -833,7 +834,8 @@ final class interneturok extends core
// Exit (fail) // Exit (fail)
return false; return false;
} }
}); }
);
} }
// Exit (fail) // Exit (fail)

View File

@@ -206,7 +206,7 @@ final class parser extends core
$parser = new interneturok(); $parser = new interneturok();
// Parsing homework files // Parsing homework files
$files = $parser->parse(subject: $subject, grade: $grade, waiting: 0); $files = $parser->parse(subject: $subject, grade: $grade, waiting: 3);
if (!empty($files)) { if (!empty($files)) {
// Initialized homework files // Initialized homework files