<commit_before>Flashback is a Python scraper for the Swedish bulletin board site flashback.org. The scraper does one thing, and it does it well.

```python
>>> import flashback
>>> thread = flashback.get('https://www.flashback.org/t2629982')
>>> thread.title
u'Min hund morrar åt mig'
>>> len(thread)
47
```

##Installation
Use pip to install Flashback.

```
$ pip install flashback
```

##Usage
Scrape a thread/discussion.
```python
url = 'https://www.flashback.org/<some-url>'
thread = flashback.get(url)
```

Iterate over the posts. Each post is a dict with the following keys: id, user_name, time and content. They should be quite self-explanatory.
```python<commit_msg>more thread attrs and dict keys<commit_after>Flashback is a Python scraper for the Swedish bulletin board site flashback.org. The scraper does one thing, and it does it well.

```python
>>> import flashback
>>> thread = flashback.get('https://www.flashback.org/t2629982')
>>> thread.title
u'Min hund morrar åt mig'
>>> len(thread)
47
```

##Installation
Use pip to install Flashback.

```
$ pip install flashback
```

##Usage
Scrape a thread/discussion.
```python
url = 'https://www.flashback.org/<some-url>'
thread = flashback.get(url)
```

Each thread has the following attributes:

* thread_name
* thread_id
* section_id
* section_name

Each post in the thread is a dict with the following keys:

* id
* user_name
* user_id
* time
* content

Iterate over the posts.

```python
{'fraction_non_alphanumeric': 0.12456985547143841, 'fraction_numerical': 0.012388162422573986, 'mean_word_length': 4.613899613899614, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '545806', 'n_tokens_mistral': 490, 'n_tokens_neox': 460, 'n_words': 166}