facundoolano / aso

Tools for app store optimization on iTunes and Google Play
MIT License
720 stars 144 forks source link

404 App not found #29

Open sulaiman21 opened 4 years ago

sulaiman21 commented 4 years ago

Description: I am working with aso module and i am getting 404 App not found error. I am sending a very simple request with just 1 keyword and that is used in example.

Example code:

const router = require("express").Router();
const gplay = require("aso")("gplay");

//keyword score
router.get("/score/:keyword", (req, res, next) => {
  console.log(req.params.keyword);
  const keyword = req.params.keyword;
  gplay
    .scores(`${keyword}`)
    .then(console.log)
    .catch(err => {
      res.send(err);
    });
});

module.exports = router;

Error message:

Error: App not found (404)
    at E:\Workspaces\React_Native\ASO_Tool\backend\node_modules\aso\node_modules\google-play-scraper\lib\utils\request.js:44:19
rizwan95 commented 4 years ago

Any update on this issue? @facundoolano