Code Monkey home page Code Monkey logo

sudheer-ranga / aliexpress-product-scraper Goto Github PK

View Code? Open in Web Editor NEW
203.0 203.0 85.0 92 KB

Get Aliexpress product details as a json response including feedbacks, variants, shipping info, description, images, etc.,

License: MIT License

JavaScript 100.00%
aliexpress aliexpress-api aliexpress-crawler aliexpress-product-json aliexpress-product-scraper aliexpress-scraper aliexpress-spider crawler dropship dropshipping hacktoberfest hacktoberfest19 hacktoberfest2019 product-json product-reviews product-scraper scraper spider

aliexpress-product-scraper's People

Contributors

sudheer-ranga avatar yuruyu6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aliexpress-product-scraper's Issues

Error: (401) Unauthorized

Hi,

i'm currently facing an issue due an outdated dependencie (agent-base) :

HTTPError: Response code 401 (Unauthorized)
    at Request.<anonymous> (/home/adrien/Documents/dropshapp/node_modules/got/dist/source/as-promise/index.js:117:42)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  code: undefined,
  timings: {
    start: 1600086737470,
    socket: 1600086737474,
    lookup: 1600086737737,
    connect: 1600086737745,
    secureConnect: 1600086737764,
    upload: 1600086737765,
    response: 1600086738120,
    end: 1600086738133,
    error: undefined,
    abort: undefined,
    phases: {
      wait: 4,
      dns: 263,
      tcp: 8,
      tls: 19,
      request: 1,
      firstByte: 355,
      download: 13,
      total: 663
    }
  }
}

According to agent-base, the error has been fixed in version >= 5, could you please update your dependencies ?

(node:6408) [DEP0139] DeprecationWarning: Calling process.umask() with no arguments is prone to race conditions and is a potential security vulnerability.
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └── [email protected]

I need help.

Can i get prices of item when ship is for example only from Poland?

Code incomplete

Hi, runParams variable is missed. Could you commit working version of the code?
const aliExpressData = await page.evaluate(() => runParams);

Added query params pageSize

Hello!, it would be good to add the pageSize in the options object, because I see that it has a default value of 20, and it would be good to be able to change it from the options. Thanks!!
image

and checking the filterReviewsBy I see that these would be the valid options

image

{
  reviewsCount: 20,
  filterReviewsBy: 'all' | 1 | 2 | 3 | 4 | 5, //filterCode values
  puppeteerOptions: {},
  pageSizeReview: number //suggested
}

scrape() should take object of options, not ordered parameters

Seeing that there are more features added that need input parameters, I think we should refactor the scrape function as such:

type AliExpressScrapeOptions = {
  puppeteerOptions?: LaunchOptions,
  feedbackLimit?: Number,
  shippingCountryNames?: String[] // should be typed with the list of country codes so it's clear which standard is being used
}

function scrape(productId: number, options: AliExpressScrapeOptions = {})

Choose the default delivery address

Hello, I don't know how to choose the default delivery address, because I sell in France and I want to follow prices only for delivery to France.
Is there any solution to this because I can't choose delevry to France in the url by get method.
Thanks for the script

Made types for Typescript

I needed some types for typescript and thought i would share my aliexpress-product-scraper.d.ts file here:

type Product = {
    title: string;
    categoryId: number;
    productId: number;
    quantity: {
        total: number;
        available: number;
    };
    description: string;
    orders: number;
    storeInfo: {
        name: string;
        logo: string;
        companyId: number;
        storeNumber: number;
        isTopRated: boolean;
        hasPayPalAccount: boolean;
        ratingCount: number;
        rating: float;
    }
    ratings: {
        totalStar: number;
        averageStar: number;
        totalStartCount: number;
        fiveStarCount: number;
        fourStarCount: number;  
        threeStarCount: number; 
        twoStarCount: number;   
        oneStarCount: number;
    };
    images: string[];
    reviews: [{
        anonymous: boolean;
        name: string;
        displayName: string;
        gender: string;
        country: string;
        rating: number;
        info: string;
        date: string;
        content: string;
        photos: string[];
        thumbnails: string[];
    }];
    variants: {
        options: [
            {
            id: number;
            name: string;
            values: [{
                id: number;
                name: string;
                displayName: string;
                image: string;    
            }]
            }
        ]
    }
    prices : [
        {
        skuId: number;
        optionValueIds: number[];
        availableQuantity: number;
        originalPrice: {
            currency: string;
            formatedAmount: string;
            value: float;
        }
        salePrice: {
            currency: string;
            formatedAmount: string;
            value: floar;
        }
    }];
    specs: [
        {
            attrValue: string;
            attrName: string;
        }
    ];
    currencyInfo: {
        baseCurrencyCode: string;
        enableTransaction: boolean;
        currencySymbol: string;
        symbolFront: false
        currencyRate: float;
        baseSymbolFront: Boolean;
        currencyCode: string;
        baseCurrencySymbol: string;
        multiCurrency: boolean;
    }
    originalPrice: {
        min : {
            currency: string;
            formatedAmount: string;
            value: float;
        }
        max : {
            currency: string;
            formatedAmount: string;
            value: float;
        }
        salePrice: {
            min: {
                currency: string;
                formatedAmount: string;
                value: float;
            }
            max: {
                currency: string;
                formatedAmount: string;
                value: float;
            }
        }
    }
    shipping: [
        {
            deliveryProviderName: string;
            tracking: string;
            provider: string;
            company: string;
            deliveryInfo: {
                min: number;
                max: number;
            }
            shippingInfo: {
                from: string;
                fromCode: string;
                to: string;
                toCode: string;
                fees: string;
                displayAmount: string;
                displayCurrency: string;
            }
            warehouseType: string;
        }
    ]
};
 enum filterReviewsBy {
    1 = 1,
    2 = 2,
    3 = 3,
    4 = 4,
    5 = 5,
}


type Options = {
    reviewsCount?: number;
    filterReviewsBy?: filterReviewsBy
    puppeteerOptions?: {}
}

declare module 'aliexpress-product-scraper' {
    export default function scrape(id: string, options?: Options): Promise<Product>;
  `}`

Review limiter

Why is there a limit for review fetching? like 10 pages or 100 reviews?

Uncaught TypeError: Cannot read properties of undefined (reading 'bind')

I'm experiencing this when I bundle it using Browserify and use it to HTML:

bundle.alisavetools.js:183238 Uncaught TypeError: Cannot read properties of undefined (reading 'bind')
at 1777.../common/Debug.js (bundle.alisavetools.js:183238:50)
at o (bundle.alisavetools.js:1:265)
at bundle.alisavetools.js:1:316
at 1782.../common/Puppeteer.js (bundle.alisavetools.js:184562:29)
at o (bundle.alisavetools.js:1:265)
at bundle.alisavetools.js:1:316
at Object. (bundle.alisavetools.js:183067:24)
at Object. (bundle.alisavetools.js:183091:4)
at 1775../node/Puppeteer.js (bundle.alisavetools.js:183091:17)
at o (bundle.alisavetools.js:1:265)

runParams is unavailable

So we have a problem because data container which is called runParams unavailable anymore. Do you have any ideas from where we can get data? except scraping HTML of course)

Json response invalid

When we run your example code, we get Json response with properties not covered using quote.

Which is invalid json.

{
title: 'Floral Print Dress Loose Casual Dress Women Summer Robe Boho Chic Loose Dress Fashion Long Sleeve Short mini Dress Elegant',
categoryId: 200000347,
productId: 3256803598798951,
totalAvailableQuantity: 524,
description: '

\n' +
'
\n' +
'
 
\n' +
'\n' +
'

 

\n' +
'\n' +
'


\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +
'
\n' +

\n' +
'\n' +
'

 

\n' +
'
\n' +
'
\n' +
'\n' +
'

 

\n' +
'
\n' +
'\n' +
'<script>window.adminAccountId=2657904468;</script>\n',
orders: 79,
storeInfo: {
name: 'Moor666 Store',
companyId: 1118185838,
storeNumber: 1101976886,
followers: 99,
ratingCount: 162,
rating: '99.4%'
},
ratings: {
totalStar: 5,
averageStar: '5.0',
totalStartCount: 30,
fiveStarCount: 29,
fourStarCount: 1,
threeStarCount: 0,
twoStarCount: 0,
oneStarCount: 0
},
images: [
'https://ae01.alicdn.com/kf/S9aa59df1476745f7922c3c8fd77767e7v/Floral-Print-Dress-Loose-Casual-Dress-Women-Summer-Robe-Boho-Chic-Loose-Dress-Fashion-Long-Sleeve.jpg',
'https://ae01.alicdn.com/kf/Sd538d3eddf4b4de0b02e62ec55f29355O/Floral-Print-Dress-Loose-Casual-Dress-Women-Summer-Robe-Boho-Chic-Loose-Dress-Fashion-Long-Sleeve.jpg',
'https://ae01.alicdn.com/kf/S83c9941a57364978ba01dafa38a7a84aV/Floral-Print-Dress-Loose-Casual-Dress-Women-Summer-Robe-Boho-Chic-Loose-Dress-Fashion-Long-Sleeve.jpg',
'https://ae01.alicdn.com/kf/Sefcab7c24e164827b0b846ff632a5cb9P/Floral-Print-Dress-Loose-Casual-Dress-Women-Summer-Robe-Boho-Chic-Loose-Dress-Fashion-Long-Sleeve.jpg',
'https://ae01.alicdn.com/kf/S9f1e90eb2de145df97f93fa01d330347v/Floral-Print-Dress-Loose-Casual-Dress-Women-Summer-Robe-Boho-Chic-Loose-Dress-Fashion-Long-Sleeve.jpg',
'https://ae01.alicdn.com/kf/S211130b7b8d74fa483712230f92a1ec3W/Floral-Print-Dress-Loose-Casual-Dress-Women-Summer-Robe-Boho-Chic-Loose-Dress-Fashion-Long-Sleeve.jpg'
],
feedback: [
{
name: 'AliExpress Shopper',
displayName: 'Virginia Carter',
country: 'US',
rating: 5,
info: [Object],
date: 2022-05-11T08:50:00.000Z,
content: 'The color is the same as the description. There is no color difference in the picture. My height is 158. It fits very well. It is very loose and cool. I am very satisfied with this shopping. It makes me very happy. I will repurchase again.',
photos: [Array]
},
{
name: 'AliExpress Shopper',
displayName: 'Elisa Goyette',
country: 'US',
rating: 5,
info: [Object],
date: 2022-05-23T06:55:00.000Z,
content: 'Very soft material, I like this miniskirt very much, the pink color is very pure, friends who like this dress can buy it with confidence, I believe you will be pleasantly surprised',
photos: [Array]
},
{
name: 'AliExpress Shopper',
displayName: 'Judy Batz',
country: 'US',
rating: 5,
info: [Object],
date: 2022-05-19T09:52:00.000Z,
content: 'very good, nice color',
photos: [Array]
},
{
name: 'AliExpress Shopper',
displayName: 'Rebecca Cummerata',
country: 'US',
rating: 5,
info: [Object],
date: 2022-05-11T08:45:00.000Z,
content: 'The clothes are loose and perfect for summer',
photos: [Array]
},
{
name: 'AliExpress Shopper',
displayName: 'Don Bauch',
country: 'US',
rating: 5,
info: [Object],
date: 2022-06-02T08:39:00.000Z,
content: "I'm grateful for a beautiful dress",
photos: [Array]
},
{
name: 'AliExpress Shopper',
displayName: 'Brittany Heaney I',
country: 'SG',
rating: 5,
info: [Object],
date: 2022-05-19T08:31:00.000Z,
content: 'Skirt dicetak dengan sangat jelas dan mempunyai corak bunga yang bagus dan kelihatan hebat',
photos: [Array]
},
{
name: 'Lh',
displayName: 'Ernest Rau',
country: 'IL',
rating: 5,
info: [Object],
date: 2022-05-26T07:26:00.000Z,
content: 'Camera not receiving the original color her, nice clothes, a little expensive, but the quality perfect size fit',
photos: [Array]
},
{
name: 'T
a',
displayName: 'Inez Rowe',
country: 'US',
rating: 5,
info: [Object],
date: 2022-06-02T08:55:00.000Z,
content: "I'm grateful for a beautiful dress",
photos: []
},
{
name: 'Jn',
displayName: 'Sherri Spencer',
country: 'IL',
rating: 5,
info: [Object],
date: 2022-05-24T08:08:00.000Z,
content: 'התקבל fast, very beautiful',
photos: [Array]
},
{
name: 'C
h',
displayName: 'Mathew Reynolds',
country: 'KR',
rating: 5,
info: [Object],
date: 2022-06-03T12:17:00.000Z,
content: 'Terrific this dress for friends recommend it to you.',
photos: [Array]
},
{
name: 'Ki',
displayName: 'Moses Kub',
country: 'RU',
rating: 5,
info: [Object],
date: 2022-05-26T07:16:00.000Z,
content: 'Perfect skirt!!',
photos: [Array]
},
{
name: 'E
n',
displayName: 'Dr. Irene Dickens',
country: 'RU',
rating: 5,
info: [Object],
date: 2022-06-07T11:46:00.000Z,
content: 'It is very good seller, good service attitude and timely delivery',
photos: []
},
{
name: 'Gn',
displayName: 'Kristine Turcotte IV',
country: 'RU',
rating: 5,
info: [Object],
date: 2022-06-04T03:29:00.000Z,
content: 'Come in this store again to buy clothes',
photos: []
},
{
name: 'M
o',
displayName: 'Jonathon Lueilwitz',
country: 'IL',
rating: 5,
info: [Object],
date: 2022-06-02T09:15:00.000Z,
content: 'I recommend the dress this, is so beautiful',
photos: []
},
{
name: 'Se',
displayName: 'Douglas Walsh',
country: 'RU',
rating: 5,
info: [Object],
date: 2022-06-07T11:59:00.000Z,
content: 'Nice skirt',
photos: []
},
{
name: 'E
y',
displayName: 'Doug Collier',
country: 'ES',
rating: 5,
info: [Object],
date: 2022-05-07T09:12:00.000Z,
content: 'A dress that is worth buying',
photos: []
},
{
name: 'Ve',
displayName: 'Jeremiah Bernier Sr.',
country: 'KR',
rating: 5,
info: [Object],
date: 2022-06-03T12:10:00.000Z,
content: 'The fancy dress to you.',
photos: []
},
{
name: 'S
o',
displayName: 'Marlene Schuppe',
country: 'KR',
rating: 5,
info: [Object],
date: 2022-05-19T09:14:00.000Z,
content: 'Very good',
photos: []
},
{
name: 'Sy',
displayName: 'Daniel Hintz',
country: 'RU',
rating: 5,
info: [Object],
date: 2022-05-26T08:40:00.000Z,
content: 'Perfect',
photos: []
},
{
name: 'AliExpress Shopper',
displayName: 'Nellie Feil',
country: 'DE',
rating: 4,
info: [Object],
date: 2022-05-09T17:59:00.000Z,
content: 'Nice quality, have normal M and L ordered, fits very well',
photos: []
},
{
name: 'J
y',
displayName: 'Lynette Senger',
country: 'BR',
rating: 5,
info: [Object],
date: 2022-06-02T08:30:00.000Z,
content: '',
photos: [Array]
},
{
name: 'Pe',
displayName: 'Melinda King',
country: 'US',
rating: 5,
info: [Object],
date: 2022-05-07T09:33:00.000Z,
content: 'This is a dress I recommend to my friends',
photos: []
},
{
name: 'T
a',
displayName: 'Nina Kiehn',
country: 'US',
rating: 5,
info: [Object],
date: 2022-06-02T08:56:00.000Z,
content: 'as light as a video',
photos: []
},
{
name: 'Rl',
displayName: 'Katie Emmerich',
country: 'US',
rating: 5,
info: [Object],
date: 2022-05-19T10:11:00.000Z,
content: 'very light clothes',
photos: []
},
{
name: 'L
a',
displayName: 'Isaac Turcotte',
country: 'US',
rating: 5,
info: [Object],
date: 2022-06-12T06:08:00.000Z,
content: '',
photos: []
},
{
name: 'Gg',
displayName: 'Marcia Gusikowski',
country: 'US',
rating: 5,
info: [Object],
date: 2022-06-12T02:46:00.000Z,
content: '',
photos: []
},
{
name: 'E
h',
displayName: 'Viola Auer',
country: 'IL',
rating: 5,
info: [Object],
date: 2022-06-01T13:07:00.000Z,
content: '',
photos: []
},
{
name: 'Jn',
displayName: 'Mr. Sophie Hoeger',
country: 'IL',
rating: 5,
info: [Object],
date: 2022-06-02T09:12:00.000Z,
content: '',
photos: []
},
{
name: 'AliExpress Shopper',
displayName: 'Heather Goodwin',
country: 'FR',
rating: 5,
info: [Object],
date: 2022-06-02T08:26:00.000Z,
content: '',
photos: []
},
{
name: 'G
t',
displayName: 'Grady Frami',
country: 'RU',
rating: 5,
info: [Object],
date: 2022-06-03T13:13:00.000Z,
content: '',
photos: []
}
],
variants: {
options: [ [Object], [Object] ],
prices: [
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object]
]
},
specs: [
{
attrName: 'Sleeve Style',
attrNameId: 200000362,
attrValue: 'Regular',
attrValueId: '200013017'
},
{
attrName: 'Silhouette',
attrNameId: 100004669,
attrValue: 'LOOSE',
attrValueId: '200001035'
},
{
attrName: 'Neckline',
attrNameId: 200000364,
attrValue: 'V-Neck',
attrValueId: '6987'
},
{
attrName: 'Decoration',
attrNameId: 19150,
attrValue: 'Bow',
attrValueId: '200001928'
},
{
attrName: 'Style',
attrNameId: 326,
attrValue: 'Bohemian',
attrValueId: '200004121'
},
{
attrName: 'Dresses Length',
attrNameId: 200000446,
attrValue: 'Mid-Calf',
attrValueId: '200004116'
},
{
attrName: 'Material',
attrNameId: 10,
attrValue: 'Polyester',
attrValueId: '48'
},
{
attrName: 'Material',
attrNameId: 10,
attrValue: 'Acrylic',
attrValueId: '100019007'
},
{
attrName: 'Origin',
attrNameId: 219,
attrValue: 'CN(Origin)',
attrValueId: '9441741844'
},
{
attrName: 'CN',
attrNameId: 266081643,
attrValue: 'Guangdong',
attrValueId: '100015190'
},
{
attrName: 'Closure Type',
attrNameId: 200000306,
attrValue: 'Pullover',
attrValueId: '200661015'
},
{
attrName: 'Type',
attrNameId: 351,
attrValue: 'Regular',
attrValueId: '200001384'
},
{
attrName: 'Fabric Type',
attrNameId: 100002012,
attrValue: 'Chiffon',
attrValueId: '50'
},
{
attrName: 'Material Composition',
attrNameId: 200000400,
attrValue: 'Natural fiber',
attrValueId: '202432822'
},
{
attrName: 'Waistline',
attrNameId: 200000363,
attrValue: 'Natural Factors',
attrValueId: '100013929'
},
{
attrName: 'Pattern Type',
attrNameId: 200000329,
attrValue: 'Print',
attrValueId: '200001250'
},
{
attrName: 'Sleeve Length(cm)',
attrNameId: 100007732,
attrValue: 'Short',
attrValueId: '200001498'
},
{
attrName: 'Age',
attrNameId: 227611301,
attrValue: 'Ages 18-35 Years Old',
attrValueId: '7076323781'
},
{
attrName: 'Season',
attrNameId: 281,
attrValue: 'Summer',
attrValueId: '366077'
},
{
attrName: 'Release Date',
attrNameId: 200007728,
attrValue: 'Winter 2022',
attrValueId: '12162043628'
},
{
attrName: 'Profile Type',
attrNameId: 248373937,
attrValue: 'H',
attrValueId: '361381'
},
{
attrName: 'Model Number',
attrNameId: 3,
attrValue: 'a08',
attrValueId: '-1'
},
{
attrName: 'Gender',
attrNameId: 284,
attrValue: 'WOMEN',
attrValueId: '494'
},
{
attrName: 'summer',
attrNameId: -1,
attrValue: 'dress',
attrValueId: '-1'
},
{
attrName: 'color',
attrNameId: -1,
attrValue: 'Navy,Orange,Blue,Pink,Yellow',
attrValueId: '-1'
},
{
attrName: 'size',
attrNameId: -1,
attrValue: 'S,M,L,XL',
attrValueId: '-1'
},
{
attrName: 'loose',
attrNameId: -1,
attrValue: 'beautiful',
attrValueId: '-1'
},
{
attrName: 'mini skirt',
attrNameId: -1,
attrValue: 'chiffon',
attrValueId: '-1'
},
{
attrName: 'Floral Print',
attrNameId: -1,
attrValue: 'Loose,Casual',
attrValueId: '-1'
},
{
attrName: 'women,female',
attrNameId: -1,
attrValue: 'spring,new',
attrValueId: '-1'
},
{
attrName: 'Bohe,bohemian',
attrNameId: -1,
attrValue: 'sandy beach',
attrValueId: '-1'
},
{
attrName: 'Large',
attrNameId: -1,
attrValue: 'elegant,',
attrValueId: '-1'
},
{
attrName: 'graceful,refined,stylish',
attrNameId: -1,
attrValue: 'polished,charmi',
attrValueId: '-1'
}
],
currency: 'USD',
originalPrice: { min: 29.54, max: 29.54 },
salePrice: { min: 16.25, max: 16.25 }
}

Execution error: runParams is not defined

Hello, I'm trying to run the sample code, with the npm package installed and downloading this repo, and I get the following error: "runParams is not defined".

The problem seems to be in this line: https://github.com/sudheer-ranga/aliexpress-product-scraper/blob/master/src/aliexpressProductScraper.js#L14

Any idea? Thanks in advance

Full log:
(node:32828) UnhandledPromiseRejectionWarning: Error: Evaluation failed: ReferenceError: runParams is not defined at __puppeteer_evaluation_script__:1:8 at ExecutionContext._evaluateInternal (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\puppeteer\lib\ExecutionContext.js:122:13) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at ExecutionContext.<anonymous> (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\puppeteer\lib\helper.js:111:15) at DOMWorld.evaluate (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\puppeteer\lib\DOMWorld.js:112:20) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at Frame.<anonymous> (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\puppeteer\lib\helper.js:111:15) at Page.evaluate (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\puppeteer\lib\Page.js:833:43) at Page.<anonymous> (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\puppeteer\lib\helper.js:112:23) at AliexpressProductScraper (C:\Users\iicc\Desktop\xxxx\xxxx\node_modules\aliexpress-product-scraper\src\aliexpressProductScraper.js:14:37) at process._tickCallback (internal/process/next_tick.js:68:7) (node:32828) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:32828) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It isnt working at all 😭😭😭

Hi sudheer, can you please add a repository with closed environment and all the node modules, it keeps giving new errors for puppetteer 😭

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.