Closed initstring closed 1 year ago
This is working now, and tests are passing.
I did verify that the new API is still limiting results to 1000 (at least for my free account).
geoblast is not longer working, as it looks like the old geo codes no longer work. Now, there are numeric codes. For example, us:0
is now 103644278
.
I still need to work on this, to get these code for the major geos. It would be good to find them documented somewhere, otherwise I can try to reverse it from intercepting requests.
I found this in some static JS:
{
"urn:li:fs_geo:100446943": "ar",
"urn:li:fs_geo:103883259": "at",
"urn:li:fs_geo:101452733": "au",
"urn:li:fs_geo:100565514": "be",
"urn:li:fs_geo:105333783": "bg",
"urn:li:fs_geo:101174742": "ca",
"urn:li:fs_geo:106693272": "ch",
"urn:li:fs_geo:104621616": "cl",
"urn:li:fs_geo:101282230": "de",
"urn:li:fs_geo:104514075": "dk",
"urn:li:fs_geo:105646813": "es",
"urn:li:fs_geo:100456013": "fi",
"urn:li:fs_geo:104630756": "fo",
"urn:li:fs_geo:105015875": "fr",
"urn:li:fs_geo:101165590": "gb",
"urn:li:fs_geo:105001561": "gf",
"urn:li:fs_geo:104232339": "gp",
"urn:li:fs_geo:104677530": "gr",
"urn:li:fs_geo:107006862": "gu",
"urn:li:fs_geo:104688944": "hr",
"urn:li:fs_geo:100288700": "hu",
"urn:li:fs_geo:105238872": "is",
"urn:li:fs_geo:103350119": "it",
"urn:li:fs_geo:100878084": "li",
"urn:li:fs_geo:104042105": "lu",
"urn:li:fs_geo:103091690": "mq",
"urn:li:fs_geo:102890719": "nl",
"urn:li:fs_geo:103819153": "no",
"urn:li:fs_geo:105490917": "nz",
"urn:li:fs_geo:102927786": "pe",
"urn:li:fs_geo:105072130": "pl",
"urn:li:fs_geo:105245958": "pr",
"urn:li:fs_geo:100364837": "pt",
"urn:li:fs_geo:104065273": "py",
"urn:li:fs_geo:104265812": "re",
"urn:li:fs_geo:101855366": "rs",
"urn:li:fs_geo:101728296": "ru",
"urn:li:fs_geo:105117694": "se",
"urn:li:fs_geo:102454443": "sg",
"urn:li:fs_geo:106137034": "si",
"urn:li:fs_geo:104187078": "tw",
"urn:li:fs_geo:102264497": "ua",
"urn:li:fs_geo:103644278": "us",
"urn:li:fs_geo:100867946": "uy",
"urn:li:fs_geo:101490751": "ve"
}
OK, geoblast is working again and returning results past 1000.
🤞 OK gonna give it a merge.
This PR will merge the chains from @coj337 into the master branch, once I can get it working with the unit tests.