hansputera / brainly-scraper-languages

Libraries that make searching on sites brainly easy.
https://hansputera.github.io/brainly-scraper-languages/
MIT License
17 stars 8 forks source link

TypeError: Brainly is not a constructor #11

Closed frmdeveloper closed 2 years ago

frmdeveloper commented 2 years ago

new Brainly

TypeError: Brainly is not a constructor
    at eval (eval at <anonymous> (/root/frmwaapi/index.js:371:17), <anonymous>:2:15)
    at eval (eval at <anonymous> (/root/frmwaapi/index.js:371:17), <anonymous>:4:43)
    at EventEmitter.<anonymous> (/root/frmwaapi/index.js:371:17)
    at EventEmitter.emit (events.js:412:35)
    at WebSocket.<anonymous> (/root/frmwaapi/node_modules/@adiwajshing/baileys-md/lib/Socket/messages-recv.js:389:16)
hansputera commented 2 years ago

New example code:

import { Brainly } from 'brainly-scraper-v2';

or

const { Brainly } = require('brainly-scraper-v2');
thoriqazzikraa commented 1 year ago

New example code:

import { Brainly } from 'brainly-scraper-v2';

or

const { Brainly } = require('brainly-scraper-v2');

Screenshot_2022-10-14-13-00-24-65_375f2148cf8fa4d7b3a7c6a3ff0c7e6c

hansputera commented 1 year ago

Please upgrade brainly-scraper-v2 to the latest version.

thoriqazzikraa commented 1 year ago

Please upgrade brainly-scraper-v2 to the latest version.

Screenshot_2022-10-14-22-53-16-04_375f2148cf8fa4d7b3a7c6a3ff0c7e6c

hansputera commented 1 year ago

Please upgrade brainly-scraper-v2 to the latest version.

Screenshot_2022-10-14-22-53-16-04_375f2148cf8fa4d7b3a7c6a3ff0c7e6c

IMG_20221015_001743.jpg