You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1021 B

7 years ago
7 years ago
7 years ago
7 years ago
  1. # LinkedIn members who work for ICE
  2. Browse it here: https://antiboredom.github.io/ice-linkedin/
  3. Please note that this script requires a LinkedIn account with a premium membership
  4. In order to run the code, first clone the repository, then install requirements:
  5. ```
  6. pip install -r requirements.txt
  7. ```
  8. Next, you'll need to edit `header.py` with info about your linkedin account. This is a bit tedious.
  9. 1. Log in to your linkedin account in Chrome
  10. 2. Go to the sales navigator page for ICE: https://www.linkedin.com/sales/search?pivotType=EMPLOYEE&pivotId=533534
  11. 3. Open your browser's development tools, and then click on the `network` tab, and then select `XHR`
  12. 4. Scroll to the bottom of the page and click the `Next` button
  13. 5. You should see a url appear on the network tab. Right click and select `Copy as cURL`
  14. 6. Open up https://curl.trillworks.com/ and paste into the `curl command` area
  15. 7. Copy everything in between `headers = {}` into `header.py`
  16. Run the script with
  17. ```
  18. python linked_in_scraper.py
  19. ```