<commit_before># site2pdf

Generate a pdf of a whole domain's pages, detected by crawling the URI given.

## Example

        ruby site2pdf.rb http://12factor.net

## Depenedencies

- wkhtmltopdf (`brew install wkhtmltopdf`)
- mechanize (`gem install mechanize`)

## License

MIT, a copy is bundled as *license.txt*<commit_msg>Format code in readme adjusting to githubs parsing<commit_after># site2pdf

Generate a pdf of a whole domain's pages, detected by crawling the URI given.

## Example

```bash
ruby site2pdf.rb http://12factor.net
```

## Depenedencies

- wkhtmltopdf (`brew install wkhtmltopdf`)
- mechanize (`gem install mechanize`)

## License

MIT, a copy is bundled as *license.txt*
{'fraction_non_alphanumeric': 0.10071942446043165, 'fraction_numerical': 0.011510791366906475, 'mean_word_length': 4.3538461538461535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3765150', 'n_tokens_mistral': 236, 'n_tokens_neox': 210, 'n_words': 81}