`youtube_api.py` throws an exception if the search results contain a channel, as channels have no videoId. This PR adds a keycheck for parsing the json response.
@@ -56,6 +56,10 @@ def response(resp):
# parse results
for result in search_results['items']:
+ if "videoId" not in result["id"]:
+ # ignore channels
+ continue
+
videoid = result['id']['videoId']
title = result['snippet']['title']