LuanRT / google-this

A simple yet powerful module to retrieve organic search results and much more from Google.
https://www.npmjs.com/package/googlethis
MIT License
325 stars 76 forks source link

[BUG] Split of Undefined #2

Closed phaticusthiccy closed 3 years ago

phaticusthiccy commented 3 years ago

https://github.com/LuanRT/google-this/blob/33d90d9a45e0350a6f20080ac41e6e65efc0d063/googleThis.js#L23

https://github.com/LuanRT/google-this/blob/33d90d9a45e0350a6f20080ac41e6e65efc0d063/googleThis.js#L24

https://github.com/LuanRT/google-this/blob/33d90d9a45e0350a6f20080ac41e6e65efc0d063/googleThis.js#L25

https://github.com/LuanRT/google-this/blob/33d90d9a45e0350a6f20080ac41e6e65efc0d063/googleThis.js#L26

phaticusthiccy commented 3 years ago

It always return TypeError: Cannot read property 'split' of undefined

I'll be glad if you check :)

LuanRT commented 3 years ago

It always return TypeError: Cannot read property 'split' of undefined

I'll be glad if you check :)

Hello there, my apologies for the late reply. I've been investigating this problem since last week and found out Google has changed some things in the search results page, therefore causing this module to break.

I rewrote the code (mostly because of that and because it was not very efficient) and got it to work again. Many things have changed and there are some new features, so if you are still willing to use this module you may want to check out the readme for instructions.

phaticusthiccy commented 3 years ago

Thanks @LuanRT You did an perfect job! And absolutely yes, ı will use your repository in WhatsAsena I've been looking for something like this for a long time and ı found this repo. Thanks for codding this 😊 Many people will be grateful to you :) (Abouth 15K user hehe)

Now this issues are solved. I m going to close this.