title: Match between dictionaries in list
body: <p>I have a question to how match between dictionaries</p>
  <p>I send 3 request to youtube api</p>
  <ul>
  <li>first to search</li>
  <li>second to video</li>
  <li>third to channel</li>
  </ul>
  <p>What I try to create is dic that have</p>
  <ul>
  <li>Title of the video</li>
  <li>Thumbnails of the video</li>
  <li>and the profile of the channel that make the video.</li>
  </ul>
  <p>here you can see the code and the requests I send:</p>
  <pre><code> def get(self,request):
      search_url = &quot;https://www.googleapis.com/youtube/v3/search&quot;
      video_url = &quot;https://www.googleapis.com/youtube/v3/videos&quot;
      channel_url = &quot;https://www.googleapis.com/youtube/v3/channels?part=snippet&amp;id='+commaSeperatedList+'&amp;fields=items(id%2Csnippet%2Fthumbnails)&amp;key={}&quot;.format(settings.YOUTUBE_DATA_API_KEY)
  
  
      para_search = {
        'part': 'snippet',
        'q': 'Learn Python' ,
        'key': settings.YOUTUBE_DATA_API_KEY,
        'maxResults': 3,
        'type': 'video'
  
      }
  
      search_response = requests.get(search_url,params=para_search)
      
      print(search_response.text)
      results = search_response.json()['items']
      ids =[]
      for result in results:
        ids.append(result['id']['videoId'])
  
  
      para_videos = {
        'part': 'snippet',
        'key': settings.YOUTUBE_DATA_API_KEY,
        'id':','.join(ids),
      }
      video_response = requests.get(video_url, params=para_videos)
      print(video_response.text)
      results = video_response.json()['items']
      dict_youtube  = {}
      list_youtube = []
      channelIdList = []
      for result in results:
        dict_youtube  = {
           'title': result['snippet']['title'],
           'thumbnails': result['snippet']['thumbnails']['high']['url'],
           'channelId': result['snippet'][&quot;channelId&quot;],
         }
        channelIdList.append(result['snippet'][&quot;channelId&quot;])
        list_youtube.append(dict_youtube)
  
  
  
      param_channel = {
        'part':'snippet,contentDetails,statistics',
        'key':settings.YOUTUBE_DATA_API_KEY,
        'id':','.join(channelIdList)
      }
      channel_response = requests.get(channel_url,params=param_channel)
      print(channel_response.text)
      results = channel_response.json()['items']
      profile = []
      profile_dic = {}
      for result in results:
        profile_dic = {
          'channelId': result['id'],
          'profile': result['snippet']['thumbnails']['default']['url'],
        }
        profile.append(profile_dic)
      print(profile)
      print(list_youtube)
  </code></pre>
  <p>Input:</p>
  <pre><code>profile = [{'channelId': 'UC8butISFwT-*******', 'profile': 'https://yt3.ggpht.com/ytc/A*******ifQn-nYNfkgLvVPkw=s88-********-no-rj'}, {'channelId': 'UCWv7*******mDpPBA', 'profile': 'https://yt3.ggpht.com/tBEPr-zTNXEeae7VZK******2PXSwzMBKVR7W0MI7gyND8=s88-c-k-c0x00ffffff-no-rj'}]
  
  list_youtube = [{'title': 'Learn Python - Full Course for Beginners [Tutorial]', 'thumbnails': 'https://i.ytimg.com/vi/rf****bw/hqdefault.jpg', 'channelId': 'UC******wT-Wl7EV0hUK0BQ'}, {'title': 'Python for Beginners - Learn Python in 1 Hour', 'thumbnails': 'https://i.ytimg.com/vi/kqt*****8/hqd****t.jpg', 'channelId': 'UCWv7*********pPBA'}, {'title': 'Python Tutorial - Python Full Course for Beginners', 'thumbnails': 'https://i.ytimg.com/vi/_uQrJ0TkZlc/hqdefault.jpg', 'channelId': 'U********PBA'}]
  </code></pre>
  <p>As you can see, I've created two lists, each with dictionaries.</p>
  <p>And every dictionary has a common key I created and it is <strong>channelId</strong></p>
  <p>What I want to do is union between dictionaries having the same value in the channelId key, the first list has fewer dictionaries than the second list.</p>
  <p>How do I combine the two lists and dictionaries so that everything is compatible
  That eventually I will have a list with dictionaries that has the key</p>
  <ol>
  <li>'title':</li>
  <li>'thumbnails':</li>
  <li>'channelId':</li>
  <li>'profile':</li>
  </ol>
  <p>something like that for example:</p>
  <pre><code>[{'title':.... , 'thumbnails':... , 'channelId':... , 'profile':... ,} , { ... }, ...]
  </code></pre>