Skip to content

Commit

Permalink
fix(vercel): try2 to fix 'cannot find module puppeteer-extra-plugin-s…
Browse files Browse the repository at this point in the history
…tealth'

taken from: vercel/pkg#910 (comment)
  • Loading branch information
ghoshRitesh12 committed Dec 17, 2024
1 parent 1a52122 commit 9d5fe79
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/extractors/megacloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ import puppeteer from "puppeteer-extra";
import { HiAnimeError } from "../hianime/error.js";
import { __dirname } from "../utils/constants.js";

import "puppeteer-extra-plugin-stealth/evasions/chrome.app";
import "puppeteer-extra-plugin-stealth/evasions/chrome.csi";
import "puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes";
import "puppeteer-extra-plugin-stealth/evasions/chrome.runtime";
import "puppeteer-extra-plugin-stealth/evasions/defaultArgs"; // pkg warned me this one was missing
import "puppeteer-extra-plugin-stealth/evasions/iframe.contentWindow";
import "puppeteer-extra-plugin-stealth/evasions/media.codecs";
import "puppeteer-extra-plugin-stealth/evasions/navigator.hardwareConcurrency";
import "puppeteer-extra-plugin-stealth/evasions/navigator.languages";
import "puppeteer-extra-plugin-stealth/evasions/navigator.permissions";
import "puppeteer-extra-plugin-stealth/evasions/navigator.plugins";
import "puppeteer-extra-plugin-stealth/evasions/navigator.vendor";
import "puppeteer-extra-plugin-stealth/evasions/navigator.webdriver";
import "puppeteer-extra-plugin-stealth/evasions/sourceurl";
import "puppeteer-extra-plugin-stealth/evasions/user-agent-override";
import "puppeteer-extra-plugin-stealth/evasions/webgl.vendor";
import "puppeteer-extra-plugin-stealth/evasions/window.outerdimensions";
import "puppeteer-extra-plugin-stealth/evasions/chrome.app/index.js";
import "puppeteer-extra-plugin-stealth/evasions/chrome.csi/index.js";
import "puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes/index.js";
import "puppeteer-extra-plugin-stealth/evasions/chrome.runtime/index.js";
import "puppeteer-extra-plugin-stealth/evasions/defaultArgs/index.js"; // pkg warned me this one was missing
import "puppeteer-extra-plugin-stealth/evasions/iframe.contentWindow/index.js";
import "puppeteer-extra-plugin-stealth/evasions/media.codecs/index.js";
import "puppeteer-extra-plugin-stealth/evasions/navigator.hardwareConcurrency/index.js";
import "puppeteer-extra-plugin-stealth/evasions/navigator.languages/index.js";
import "puppeteer-extra-plugin-stealth/evasions/navigator.permissions/index.js";
import "puppeteer-extra-plugin-stealth/evasions/navigator.plugins/index.js";
import "puppeteer-extra-plugin-stealth/evasions/navigator.vendor/index.js";
import "puppeteer-extra-plugin-stealth/evasions/navigator.webdriver/index.js";
import "puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js";
import "puppeteer-extra-plugin-stealth/evasions/user-agent-override/index.js";
import "puppeteer-extra-plugin-stealth/evasions/webgl.vendor/index.js";
import "puppeteer-extra-plugin-stealth/evasions/window.outerdimensions/index.js";

import StealthPlugin from "puppeteer-extra-plugin-stealth";

Expand Down

0 comments on commit 9d5fe79

Please sign in to comment.