Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Nov 9, 2023
1 parent d26c87a commit 19b4d6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/extractors/rapidcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class RapidCloud extends VideoExtractor {
let extractedKey = '';
let currentIndex = 0;
for (const index of decryptKey) {
let start = index[0] + currentIndex;
let end = start + index[1];
const start = index[0] + currentIndex;
const end = start + index[1];
for (let i = start; i < end; i++) {
extractedKey += res.data.sources[i];
sourcesArray[i] = '';
Expand Down
4 changes: 2 additions & 2 deletions src/extractors/vidcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class VidCloud extends VideoExtractor {

let currentIndex = 0;
for (const index of key) {
let start = index[0] + currentIndex;
let end = start + index[1];
const start = index[0] + currentIndex;
const end = start + index[1];
for (let i = start; i < end; i++) {
extractedKey += res.data.sources[i];
sourcesArray[i] = '';
Expand Down

0 comments on commit 19b4d6d

Please sign in to comment.