seems that the search is changed in the new Github API. This code works vor the legency version of the API.