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

TypeError: Cannot read property '1' of null #7

Open
JakeHenshall opened this issue Aug 11, 2019 · 6 comments
Open

TypeError: Cannot read property '1' of null #7

JakeHenshall opened this issue Aug 11, 2019 · 6 comments

Comments

@JakeHenshall
Copy link

Hey,

I run this code scrape 32853590425

But I get this error:

TypeError: Cannot read property '1' of null
at /Users/jake/Code/aliexscrape/index.js:12:65
at tryCatcher (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/promise.js:694:18)
at _drainQueueStep (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/jake/Code/aliexscrape/node_modules/bluebird/js/release/async.js:17:14)
at processImmediate (internal/timers.js:439:21)
undefined

Thanks Jake.

@molotow11
Copy link

I have the same issue

@DestroyerIV
Copy link

the same problem...

@mezzab
Copy link

mezzab commented Sep 6, 2019

Same problem!

@ducdev
Copy link
Owner

ducdev commented Sep 6, 2019

Sorry guys for late response, actually I don't have much time for aliexscrape, then feel free to submit your PR and I will consider merging, thanks.

@aorfevre
Copy link

sounds like it request an authentication from cheerio; prompting the auth screen from aliexpress before showing the result.
Don't know how to do authenticate cheerio to aliexpress
if you can put me to the direction @ducdev ; I would love to invest time for that.

@ducdev
Copy link
Owner

ducdev commented Jan 14, 2020

sounds like it request an authentication from cheerio; prompting the auth screen from aliexpress before showing the result.
Don't know how to do authenticate cheerio to aliexpress
if you can put me to the direction @ducdev ; I would love to invest time for that.

If you are keen on and having time for it, please work around and submit your PR, thanks.

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

6 participants