title: Get more result from Github search
body: <p>I'm creating a script that scrape raw urls for a search keyword from Github using <a href="https://github.com/search" rel="nofollow">Github search</a>. First all I can get is 100 page with 10 results per page. But then I begin to filter search by language. So I start getting 100*10*10 results.</p>
  
  <pre><code>def search(keyword):
      with open(keyword+".txt", "a") as f:
          base ="https://raw.githubusercontent.com"
          l = requests.get("https://github.com/search?q={}&amp;type=Code&amp;ref=searchresults".format(keyword))
          for language in re.findall('&lt;a href="(.*?)".*?ter-item"&gt;',l.text):
              for page in range(1,100):
                  req = requests.get(language + "&amp;p={}".format(page))
                  for url in  re.findall('a href="(.*?)" title', req.text):
                      raw = base + url.replace("/blob", "")
                      f.write(raw + '\n')  
                      print raw
  </code></pre>
  
  <p>Is there are a method to get more results?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I already checked Github API. But When I try to search for code I have to specify the repository. That's why I'm scrapping the results.</p>
  
  <pre><code>  "message": "Validation Failed",
    "errors": [
      {
        "message": "Must include at least one user, organization, or repository",
        "resource": "Search",
        "field": "q",
        "code": "invalid"
      }
  </code></pre>