<commit_before># Veganistan Scraper


Scraping the public pages of veganistan.se to find resturants and stores

This project scrapes veganistan.se for resturants/stores/etc and saves them
in a JSON file for easy parsing. The aim for this project is to provide the
base data from the site to be imported into an API service.


## Development

Requirements::

    Python 3.4
    Virtualenv
    Pip for python3
    Beautifulsoup4


Create a virtualenvironment and install the dependencies using ``pip3``::

    mkvirtualenv --python=/usr/local/bin/python3 veganistan_scraper
    pip3 install requirements/default.pip



## Running<commit_msg>install libncurses5-dev if installation of readline fails<commit_after># Veganistan Scraper


Scraping the public pages of veganistan.se to find resturants and stores

This project scrapes veganistan.se for resturants/stores/etc and saves them
in a JSON file for easy parsing. The aim for this project is to provide the
base data from the site to be imported into an API service.


## Development

Requirements::

    Python 3.4
    Virtualenv
    Pip for python3
    Beautifulsoup4


Create a virtualenvironment and install the dependencies using ``pip3``::

    mkvirtualenv --python=/usr/local/bin/python3 veganistan_scraper
    pip3 install requirements/default.pip


If installation fails on ``lncurses`` try installing the development library 
for ``ncurses``.
``sudo apt-get install libncurses5-dev`

## Running
{'fraction_non_alphanumeric': 0.05422100205902539, 'fraction_numerical': 0.01098146877144818, 'mean_word_length': 4.0979020979020975, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '34032', 'n_tokens_mistral': 431, 'n_tokens_neox': 401, 'n_words': 173}