LinkedIn scraper

Refresh the cookies of a connected scraping account

Replaces the session cookies of a scraping account (its authId), typically after a scraper stopped with INVALID_COOKIE or when the account shows status: invalid. status is set back to valid (the cookies are not tested at this moment). Then restart the stopped scraper with PUT /linkedin-scrappers/{scrapperId}/resume.

Send the complete set every time: li_a, ua, viewport, country and additionnalsCookie that you omit are cleared, and so is the LinkedIn profile shown in the app.

Returns the same account id. Only scraping accounts can be updated here (not campaign accounts).

put/linkedin-scrappers/authes/{id}

Request

  • Base URL: https://api.emelia.io
  • URL: https://api.emelia.io/linkedin-scrappers/authes/{id}
  • Auth: API key in header Authorization

Path parameters

idstring required

Account id (the authId returned by POST /linkedin-scrappers/authes). 24 hexadecimal characters.

Request body

li_atstring required

Value of the li_at cookie (LinkedIn session). Required.

li_astring

Value of the li_a cookie (Sales Navigator session).

jsessionidstring

Accepted but ignored. Send JSESSIONID in additionnalsCookie.

uastring

User agent of the browser the cookies come from.

countrystring

ISO 3166-1 alpha-2 code of the country the account is used from (for example FR). Emelia browses LinkedIn through a proxy located in this country.

Response

Cookies replaced, account valid again.

successboolean required
authIdstring required

Account id.

Changes

No recorded changes to this operation across all 1 revision of this API.