This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// paste this file on a empty directory | |
// npm i axios | |
// You should go to your browser on Cookie session and get JSESSIONID and li_at from Linkedin Section | |
const JSESSIONID = 'YOUR JSESSIONID' | |
const liAT = 'YOUR li_at' | |
import axios from 'axios' | |
const headers = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const customAnimatedSequence = (animations, onStepStart) => { | |
let current = 0; | |
return { | |
start: (callback) => { | |
const onComplete = (result) => { | |
if (!result.finished) { | |
callback && callback(result); | |
return; | |
} |