Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with status code 403 running on heroku #16

Closed
officialdittaz opened this issue Feb 22, 2022 · 4 comments
Closed

Error with status code 403 running on heroku #16

officialdittaz opened this issue Feb 22, 2022 · 4 comments

Comments

@officialdittaz
Copy link

IMG_20220223_061745

Gimana nih bwang kok error
Script :

const { Brainly } = require("brainly-scraper-v2");
const brainly = new Brainly("id");

case 'kuy':
await brainly.search('id', "Pythagoras").then(console.log).catch(console.error);
break

@hansputera
Copy link
Owner

Hello.

In the latest version, you can use Brainly#searchWithMT to avoid 403 Forbidden response. If you use Brainly#search, you must fill the country code correctly in the constructor.

@officialdittaz
Copy link
Author

Oke makasih ya bwang :v

@ziprawan
Copy link

@officialdittaz sama sama

@officialdittaz
Copy link
Author

Maap bwang, mau tanya lgi nih gua udah make
searchWithMT untuk memghindari error 403,
Saya coba di termux work dan muncul teksnya, pas di coba di heroku gada error sih tpi teksnya ga muncul, coba cek deh bwang

@hansputera hansputera mentioned this issue Mar 15, 2022
@hansputera hansputera mentioned this issue May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants