title: How to get youtube channel id using channel custom name?
body: <p>My question is very similar to this <a href="https://stackoverflow.com/questions/37267324/how-to-get-youtube-channel-details-using-youtube-data-api-if-channel-has-custom">one</a>,
  I want to get channel id using channel custom name.</p>
  
  <p>The answer on the question mentioned above which is:</p>
  
  <pre><code>GET https://www.googleapis.com/youtube/v3/search?part=id%2Csnippet&amp;q=annacavalli&amp;type=channel&amp;key={YOUR_API_KEY}
  </code></pre>
  
  <p>doesn't work on small channels, for ex. when I run it with this channel: <a href="https://www.youtube.com/AnnaShearerfashionfettish" rel="noreferrer">https://www.youtube.com/AnnaShearerfashionfettish</a> it returns nothing.</p>