1cak-scraper

0.0.21 • Public • Published

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

🥚 Credits

🧗‍♀️ Contribution(s) are welcome!

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i 1cak-scraper

    Weekly Downloads

    8

    Version

    0.0.21

    License

    MIT

    Unpacked Size

    17.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • gimenz