Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kaguya-anime/parsers

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaguya-anime/parsers - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

10

build/parsers/anime/hentaiff.js

@@ -118,2 +118,5 @@ Object.defineProperty(exports, "__esModule", { value: true });

const hashLink = $(el).val();
const iframeUrl = decodeBase64(hashLink);
if (iframeUrl.includes('amhentai'))
return null;
return {

@@ -124,3 +127,3 @@ hash: hashLink,

});
return servers.filter((server) => server.hash);
return servers.filter((server) => server === null || server === void 0 ? void 0 : server.hash);
}

@@ -130,6 +133,7 @@ getVideoUrl(server) {

const iframeHTML = decodeBase64(server.hash);
const iframeUrls = iframeHTML.match(/(?<=src=").*?(?=[?"])/g);
const $ = (0, cheerio_1.load)(iframeHTML);
const iframeUrl = $('iframe').attr('src');
return [
{
file: iframeUrls[0],
file: iframeUrl,
isEmbed: true,

@@ -136,0 +140,0 @@ },

{
"name": "@kaguya-anime/parsers",
"version": "1.3.0",
"version": "1.3.1",
"main": "build/index.js",

@@ -43,3 +43,3 @@ "license": "MIT",

},
"gitHead": "ace2bd504d35b69f67f156c33a3e3cec518e508e"
"gitHead": "597258e7e8cc6276d5393fb857c5c500e2d84e59"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc