Skip to content

Today I started getting this error "level":"error","component":"scrapemate","error":"could not convert to string" #151

Answered by gfatzd
ForrestHall asked this question in Q&A
Discussion options

You must be logged in to vote

gmaps/place.go

const js = function parse() { const inputString = window.APP_INITIALIZATION_STATE[3]["Tf"][6] return inputString }

const js = `
function parse() {
const appState = window.APP_INITIALIZATION_STATE[3];
if (!appState) {
return null;
}

for (let i = 65; i <= 90; i++) {
const key = String.fromCharCode(i) + "f";
if (appState[key] && appState[key][6]) {
return appState[key][6];
}
}

return null;
}
`

replace this part ,and rebuild the exe file , it will work

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@gfatzd
Comment options

@ForrestHall
Comment options

@gfatzd
Comment options

@gfatzd
Comment options

Answer selected by ForrestHall
@ForrestHall
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants