title: How to find value in JSON result from Google custom search in Python
body: <p>I am successfully returning google search results using custom search engine in JSON. The following is just an example.</p>
  
  <p><a href="https://1drv.ms/t/s!AhueqKzeEHo90Wavbff2U-D8xLmN" rel="nofollow noreferrer">https://1drv.ms/t/s!AhueqKzeEHo90Wavbff2U-D8xLmN</a></p>
  
  <p>As you can see in the JSON, I have operated and appended 4 searches. So JSON contains 4 array elements. What I am trying to do is to find all occurrences of "Dataseet" string in "title" and if found any, print all "link" of the hits.</p>
  
  <p>I have tried many different ways. The last one was </p>
  
  <pre><code>with open('data.json') as f:
      data = json.load(f)
  
  json_str = json.dumps(data)
  resp = json.loads(json_str)
  
  list1 = resp[0]['items']
  for item in list1:
      if item['title'] in "Datasheet"
          print(item[0]['link'])
  </code></pre>
  
  <p>This doesn't work at all but I am looking for something similar (algorithm wise).
  Thanks</p>