Scrapping Shopee Product’s with Node.js

Home Forums Programming Scrapping Shopee Product’s with Node.js

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Van Lyubov
    Participant

      Scrapping Shopee Product’s with Node.js

      const Shopee = require("shopee");
      
      const shopee = new Shopee(Shopee.BASE_URL.INDONESIA);
      
      async function run() {
          const product = await shopee.search({
              query: "RTX 2080",
              orderBy: Shopee.SEARCH.ORDER_BY.PRICE,
              orderType: Shopee.SEARCH.ORDER_TYPE.ASC,
              shippings: [
                  Shopee.SEARCH.SHIPPING.JNE_REGULAR,
                  Shopee.SEARCH.SHIPPING.SI_CEPAT_REG
              ],
              locations: ["Jawa Tengah", "Tegal"],
              priceMax: 30000000
          });
          console.log(product[0].name);
      }
      
      run();

      How to run ?
      $ non install shopee
      $ save as shopee.js and run

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.

    We are all close together

    A problem, a bug, a question, an emergency?
    Do not hesitate to visit the help centre, we can help you.

    Copyright © 2021 Tegal1337. All rights reserved