-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.go
More file actions
22 lines (19 loc) · 1.17 KB
/
constants.go
File metadata and controls
22 lines (19 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package linkedinscraper
const (
VoyagerBaseURL = "https://www.linkedin.com/voyager/api/graphql"
// DefaultSearchQueryID is the default query ID for profile searches.
// This was taken from a cURL command observation.
// Example: voyagerSearchDashClusters.b1d223dcc11b2a052b967900e7388211
// Updated based on the latest working cURL command provided by the user.
DefaultSearchQueryID = "voyagerSearchDashClusters.7cdf88d3366ad02cc5a3862fb9a24085"
// DefaultProfileQueryID is the default query ID for profile fetching.
// This is used with the voyagerIdentityDashProfiles query to fetch detailed profile data.
DefaultProfileQueryID = "voyagerIdentityDashProfiles.8ca6ef03f32147a4d49324ed99a3d978"
AcceptHeaderValue = "application/vnd.linkedin.normalized+json+2.1"
AcceptEncodingHeaderValue = "gzip, deflate, br, zstd"
AcceptLanguageHeaderValue = "en-GB,en-US;q=0.9,en;q=0.8"
DefaultLiLangHeaderValue = "en_US"
DefaultRestliProtocolVersion = "2.0.0"
// DefaultUserAgent is the default user agent for Voyager API calls
DefaultUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
)