Documentation
¶
Overview ¶
Package linkedin fetches LinkedIn user profile data. NOTE: LinkedIn authentication is currently broken due to their anti-scraping measures. This package returns minimal profiles with just the URL and username for manual verification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
func AuthRequired() bool
AuthRequired returns true because LinkedIn requires authentication. NOTE: Auth is currently broken, but we keep this true to indicate the limitation.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client handles LinkedIn requests.
func New ¶
New creates a LinkedIn client. NOTE: LinkedIn authentication is currently broken. The client will return minimal profiles.
func (*Client) EnableDebug ¶
func (*Client) EnableDebug()
EnableDebug enables debug logging (currently a no-op).
type Option ¶
type Option func(*config)
Option configures a Client.
func WithBrowserCookies ¶
func WithBrowserCookies() Option
WithBrowserCookies enables reading cookies from browser stores (currently unused - auth is broken).
func WithCookies ¶
WithCookies sets explicit cookie values (currently unused - auth is broken).
func WithHTTPCache ¶
WithHTTPCache sets the HTTP cache (currently unused - auth is broken).