<commit_before># LinkedIn scraper #
Simple scraper which query LinkedIn people database for given string and
scrap the people from result page.

## Installing ##
Installation method uses [Docker](https://docs.docker.com/engine/installation/) and [Docker-compose](https://docs.docker.com/compose/install/).

Use helper script:
```bash
./run.sh
```

docker-compose will manage to download and install every dependencies
you need before running scraper.

## Usage ##
```bash
./run.sh "<NAME>"
```

This use `docker-compose run` command under the hood. For more options
see `./run.sh -h`.
Be aware that you will be asked for your LinkedIn credentials in order
to allow the scraper to login and do actual query.

## Tests ##
```
./tests.sh
```
<commit_msg>Add note about results to README.<commit_after># LinkedIn scraper #
Simple scraper which query LinkedIn people database for given string and
scrap the people from result page.

## Installing ##
Installation method uses [Docker](https://docs.docker.com/engine/installation/) and [Docker-compose](https://docs.docker.com/compose/install/).

Use helper script:
```bash
./run.sh
```

docker-compose will manage to download and install every dependencies
you need before running scraper.

## Usage ##
```bash
./run.sh "<NAME>"
```

This use `docker-compose run` command under the hood. For more options
see `./run.sh -h`.
Be aware that you will be asked for your LinkedIn credentials in order
to allow the scraper to login and do actual query.
By default results are stored in `results.csv`, you can change this by
explicitly passed `-o` option.

## Tests ##
```
./tests.sh
```

{'fraction_non_alphanumeric': 0.11637931034482758, 'fraction_numerical': 0.0, 'mean_word_length': 4.241935483870968, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2154847', 'n_tokens_mistral': 491, 'n_tokens_neox': 458, 'n_words': 199}