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

NEPREMICNINE no data errTypeError #5

Closed
peroxy opened this issue Mar 25, 2018 · 1 comment
Closed

NEPREMICNINE no data errTypeError #5

peroxy opened this issue Mar 25, 2018 · 1 comment

Comments

@peroxy
Copy link

peroxy commented Mar 25, 2018

I get an error, the program does not crash, but keeps throwing these errors when trying to scrape on the defined interval:

NEPREMICNINE no data errTypeError: Cannot read property 'children' of undefined

Scraping and email sending works for bolha, but not for nepremicnine, this is the config I am using (it is a valid JSON file):

{
	"sender_email" : "sample@gmail.com",
	"clientID": "sampleClientId",
	"clientSecret": "sampleSecret",
	"refreshToken": "sampleRefreshToken",
	"accessToken": "sampleAccessToken",
	"interval" : 15,
	"receiver_email" : ["someone@gmail.com"],
	"url_bolha" : ["http://www.bolha.com/nepremicnine/stanovanja/?location=Gorenjska%2FKranj%2F&adTypeH=02_Oddam%2F&priceSortField=0|700"],
	"url_nepremicnine" : ["https://www.nepremicnine.net/oglasi-oddaja/gorenjska/kranj/stanovanje/cena-do-700-eur-na-mesec/"]
}

I am using latest NodeJS on raspberry pi which is using Debian Raspbian. Running the scraper with command:
node scraper.js

@peroxy
Copy link
Author

peroxy commented Aug 19, 2018

Eh, this project's dead.

@mowlc mowlc closed this as completed Sep 3, 2018
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

2 participants