google-search-results-nodejs
google-search-results-nodejs copied to clipboard
Songs are inconsistent in end JSON.
After getting results, in knowledge_graph, sometimes a songs artist will come up as artis and not artist.

Also, when getting a song from answer_box, it will sometimes mix up all the data like this:
That video link also was not there the last time I ran this.
Please fix these if you can.
~~For some reason, even though I set my location to the US, it is giving me Indonesian results when searching for Lucid Dreams. This explains the artis and dengarkan.~~
~~Looking through search_parameters shows that it did not at all take the location into account.~~
Had the wrong parameter set.
The answer_box is still inconsistent though.
Now it won't show up at all on the song shown in the main post.
@ljharnish thank you for opening this issue.
- Could you clarify which engine are you using? From what I understand it seems to be a Google Search API.
- What exactly are you trying to get from the results?
- Could you give us (paste in the comment) an inspect link so we can take a deeper look? https://serpapi.com/searches

@dimitryzub I'm using the Google Search API, yes. I'm trying to get the song data from the answer to show it on my site. Here's the inspect link: https://serpapi.com/searches/63f83c959bddf791fe648b8d/inspect Looking at that link myself, it looks correct but on my site it is still incorrect.
@ljharnish Thank you 👍
but on my site it is still incorrect
Could you explain what you meant by saying "incorrect"?
@dimitryzub On my site, the values in answer_box are still scrambled into other keys. Even though the values are uncrambled in the inpect page.
@dimitryzub On my site, the values in
answer_boxare still scrambled into other keys. Even though the values are uncrambled in the inpect page.
@ljharnish could you please have a look at the illustrations below? Did you have any misunderstandings with this?


@kagermanov27 @tanys123 could you guys have a look whenever you can? Is it as how it is supposed to be? Inspect page.
If it's not as supposed to be, we can create an issue on public-roadmap.
@dimitryzub Yes, I uderstand those. The data is correct, its just not in the correct place: 
The album value has the data from the released, the artist has the data from the actual album, and the released has the entire artist in it.
@ljharnish thanks for your feedback. :+1: I'm sorry for the late reply.
Please use the correct data from the knowledge_graph.album and knowledge_graph.released.
The answer_box.album and answer_box.released are incorrectly parsed indeed. I created an issue in our public roadmap: https://github.com/serpapi/public-roadmap/issues/1735
(ref: https://serpapi.com/playground?q=XXXKIRBY)