Skip to content

Instantly share code, notes, and snippets.

@guillaumecabane
Last active April 28, 2022 21:02
Show Gist options
  • Save guillaumecabane/eb76d234da14c915f6a68c172a5990bc to your computer and use it in GitHub Desktop.
Save guillaumecabane/eb76d234da14c915f6a68c172a5990bc to your computer and use it in GitHub Desktop.
How to search in all countries *but* the US (or any other for that matter)?
Linkedin Country codes: https://developer.linkedin.com/docs/reference/country-codes#
Linkedin faceted search url format: %5B"ca%3A0"%2C"au%3A0"%2C"es%3A0"%5D
Decoded URL: ["ca:0","au:0","es:0"]
=> Complete list for injection in url (remove the country you want to exclude):
["ae:0","ar:0","at:0","au:0","be:0","br:0","ca:0","ch:0","cl:0","cn:0","co:0","cz:0","de:0","dk:0","es:0","fi:0","fr:0","fx:0","gb:0","gr:0","hk:0","hr:0","hu:0","id:0","ie:0","il:0","in:0","is:0","it:0","jp:0","lb:0","lu:0","lv:0","ma:0","mc:0","mx:0","my:0","nl:0","no:0","nz:0","oo:0","pe:0","ph:0","pk:0","pl:0","pr:0","pt:0","py:0","qa:0","ro:0","ru:0","sa:0","se:0","sg:0","sk:0","th:0","tr:0","tw:0","ua:0","us:0","uy:0","ve:0","vn:0","yu:0","za:0"]
=> Inject in faceted search, like so to exclude the US and France:
https://www.linkedin.com/search/results/people/?facetGeoRegion=%5B%22gb%3A0%22%2C%22ca%3A0%22%2C%22de%3A0%22%2C%22au%3A0%22%2C%22ie%3A0%22%2C%22in%3A0%22%2C%22sg%3A0%22%2C%22es%3A0%22%2C%22il%3A0%22%2C%22nl%3A0%22%2C%22ch%3A0%22%2C%22oo%3A0%22%2C%22pl%3A0%22%2C%22ae%3A0%22%2C%22ar%3A0%22%2C%22at%3A0%22%2C%22be%3A0%22%2C%22br%3A0%22%2C%22cl%3A0%22%2C%22cn%3A0%22%2C%22co%3A0%22%2C%22cz%3A0%22%2C%22dk%3A0%22%2C%22fi%3A0%22%2C%22fx%3A0%22%2C%22gr%3A0%22%2C%22hk%3A0%22%2C%22hr%3A0%22%2C%22hu%3A0%22%2C%22id%3A0%22%2C%22is%3A0%22%2C%22it%3A0%22%2C%22jp%3A0%22%2C%22lb%3A0%22%2C%22lu%3A0%22%2C%22lv%3A0%22%2C%22ma%3A0%22%2C%22mc%3A0%22%2C%22mx%3A0%22%2C%22my%3A0%22%2C%22no%3A0%22%2C%22nz%3A0%22%2C%22pe%3A0%22%2C%22ph%3A0%22%2C%22pk%3A0%22%2C%22pr%3A0%22%2C%22pt%3A0%22%2C%22py%3A0%22%2C%22qa%3A0%22%2C%22ro%3A0%22%2C%22ru%3A0%22%2C%22sa%3A0%22%2C%22se%3A0%22%2C%22sk%3A0%22%2C%22th%3A0%22%2C%22tr%3A0%22%2C%22tw%3A0%22%2C%22ua%3A0%22%2C%22uy%3A0%22%2C%22ve%3A0%22%2C%22vn%3A0%22%2C%22yu%3A0%22%2C%22za%3A0%22%5D&facetNetwork=%5B%22F%22%5D&origin=FACETED_SEARCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment