<commit_before># Blog Spider

## IMAGES
* rabbitmq
* redis
* python
* nginx
* mongo

## INIT
 * mkdir ~/db/
 * docker-compose build

## RUN
 * docker-compose up -d

## mongodb
First time, should create users of mongodb
 * docker-compose exec mongodb mongo /script/init_admin.js
 * docker-compose exec mongodb mongo /script/init_db.js

## TODO
### spider
  * tag: html2txt<commit_msg>clean code<commit_after># Blog Spider

## IMAGES
* rabbitmq
* redis
* python
* nginx
* mongo

## INIT
 * docker-compose build

## RUN
 * docker-compose up -d

## mongodb
First time, should create users of mongodb
 * docker-compose exec mongodb mongo /script/init_admin.js
 * docker-compose exec mongodb mongo /script/init_db.js

## TODO
### spider
  * tag: html2txt
{'fraction_non_alphanumeric': 0.11229946524064172, 'fraction_numerical': 0.00267379679144385, 'mean_word_length': 3.740506329113924, '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': '6449986', 'n_tokens_mistral': 292, 'n_tokens_neox': 265, 'n_words': 78}