<commit_before>ComicThief
========================

Comic Books Scraper. Easy download comics and make .cbz files.

Downloads comics from `Readcomics.tv <http://www.readcomics.tv/>`_.

Download and install ComicThief by *python3 setup.py install -r requirements.txt*

Use as comand line utility:
----------------

1) Copy *ct.py* wherever You want.

2) Type *python3 ct.py -s "Name"* to search comic books.

3) Type *python3 ct.py -xs "Exact name"* if there is more than one result. List of episodes will appear.

4) Type *python3 ct.py -xs "Exact name" -e "Episode name #1"* to download selected episode.

5) Go to "comics" directory, there it is!

Use as library:
----------------

```python
from ComicThief.main import ComicThief

ct = ComicThief()
result = ct.exact_search("Lobo")
episode_url = result.get("Lobo #1")
if episode_url:
    ct.download_episode(episode_url, "Lobo #1")
```<commit_msg>Readme updated<commit_after>ComicThief
========================

Comic Books Scraper. Easy download comics and make .cbz files.

Downloads comics from `Readcomics.tv <http://www.readcomics.tv/>`_.

Download and install ComicThief by *python3 setup.py install -r requirements.txt*

Use as comand line utility:
----------------

1) Copy *ct.py* wherever You want.

2) Type *python3 ct.py -s "Name"* to search comic books.

3) Type *python3 ct.py -xs "Exact name"* if there is more than one result. List of episodes will appear.

4) Type *python3 ct.py -xs "Exact name" -e "Episode name #1"* to download selected episode.

5) Go to "comics" directory, there it is!

Use as library:
----------------

```python

from ComicThief.main import ComicThief

ct = ComicThief()

result = ct.exact_search("Lobo")

episode_url = result.get("Lobo #1")

if episode_url:

    ct.download_episode(episode_url, "Lobo #1")

```
{'fraction_non_alphanumeric': 0.1671278361925844, 'fraction_numerical': 0.013281682346430549, 'mean_word_length': 3.5888324873096447, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3244051', 'n_tokens_mistral': 641, 'n_tokens_neox': 597, 'n_words': 219}