Socket
Socket
Sign inDemoInstall

1cak-scraper

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

1cak-scraper

Un-Official 1cak.com Api Wrapper


Version published
Maintainers
1
Weekly downloads
5

Weekly downloads

Readme

Source

1cak-scraper

1cak.com Un-Official Api Wrapper

simple unofficial api wrapper for 1cak.com NSFW Post & GIF Video is now supported :)

👨‍🍳 Install

npm install 1cak-scraper

📔 Example

const Wancak = require('1cak-scraper')

// support nsfw content, if you provide cookie.
// get cookie using dev tools (desktop browser), or eruda (mobile browser)
const jancok = new Wancak('cookie');

(async () => {
    try {
	
        // search posts
        const search = await jancok.search('peline di mik');
        console.log(search);

        // random post
        const random = await jancok.shuffle();
        console.log(random);

        // find post by section
        const section = await jancok.section('legendary');
        console.log(section);

        //and manymore 
    } catch (error) {
        console.log(error);
    }
})()

🌳 Dependency

  • Axios

🥚 Credits

🧗‍♀️ Contribution(s) are welcome!

Keywords

FAQs

Last updated on 05 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc