You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make a new or prepare dummy LinkedIn account for CMPDocs
Download a new browser and stay permanently logged in with it so cookies never expire
Consider if the cookie can be stringified and saved by Github secrets to be loaded in the action
Ensure that in the presence of the cookie and in a fresh environment installing requirements and running python scripts/linkedin-scraper/run.py is sufficient to update all files
Write the Github action to simply run the commands and commit the changes
The text was updated successfully, but these errors were encountered:
@Iten-No-404 could you convey the cookie browser generation mechanism that is currently assumed in the code because it seems to be different than how I did it in another application.
Sure, @EssamWisam. I used a Chrome extension called Export cookie JSON file for Puppeteer which can be found here. It produces a JSON file with the format below:
Hmmmm. I remember using browser cookie library and it was able to access browser cookies (but not in a JSON format from what I saw). The idea is that it works cross-browser (e.g., Firfox where I am not sure if this extension exists). So I will try extracting them this way first and if it doesnt' work well I can change a little the cookie code to handle the browser-cookie library style.
Requirements:
python scripts/linkedin-scraper/run.py
is sufficient to update all filesThe text was updated successfully, but these errors were encountered: