I am trying to get subsection of the Metadata such as image, title, url, title, description but it is impossible. Can you advise how to get this information from the follow code and results.

out = ServiceExecute["GoogleCustomSearch", "Search", {"Query" -> "HEPA filter bags", "Site" -> "https://www.amazon.com", MaxItems -> 1, "SearchType" -> "Web"}]

enter image description here

Thank you

  • $\begingroup$ Please paste the details of out instead of asking readers to execute the search. The question is about info extraction, not the search. $\endgroup$
    – Syed
    Oct 30 '21 at 8:06
  • $\begingroup$ @Syed: detail of out has 4 columns, the last column is Metadata having 5 subsections: image, title, url, title, description. $\endgroup$
    – Anh
    Oct 30 '21 at 8:11
  • $\begingroup$ @Syed: thank you for your comment. It is special out type. I can't paste as text because the content is disappeared. When I paste/upload as picture, the content is available. Thus I have update the out as picture. $\endgroup$
    – Anh
    Oct 30 '21 at 8:19
  • $\begingroup$ @Syed Thank you. I try with out[[1, 4]] and First@out[[1, 4]] but can't separate the Metadata. When I copy and paste result here, I get only : Dataset[ <> ] $\endgroup$
    – Anh
    Oct 30 '21 at 8:26
  • $\begingroup$ Let us continue this discussion in chat. $\endgroup$
    – Anh
    Oct 30 '21 at 8:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.