-
-
Save erikzrekz/8a46df72fd1759fc95a754e30ad1fad1 to your computer and use it in GitHub Desktop.
What do these parameters even mean?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const language = `en`, | |
numResults = `100`, // 1 to 100 | |
personalization = `0`, // Non-personalized | |
encoding = `UTF-8`, | |
verbatim = `li:1`, // No auto-correct and no location | |
ssl = `ssl`; | |
const googleSearchUrl = `https://www.google.com/search` + | |
`?q=${keyword}` + | |
`&hl=${language}` + | |
`&num=${numResults}` + | |
`&pws=${personalization}` + | |
`&ie=${encoding}` + | |
`&oe=${encoding}` + | |
`&tbs=${verbatim}` + | |
`&sa=N` + // I forget what this does | |
`&gws_rd=${ssl}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment