<commit_before>gc-crawler
==========

A simple crawl helper that will help connect an api with page links with the crawler of the actual pages, like for using with Kimono API<commit_msg>Changed readme<commit_after>gc-crawler
==========

A simple crawl helper that will help connect an api with page links with the crawler of the actual pages, like for using with Kimono API

## The idea

So the idea behind gc-crawler is that you've got one service, perhaps but not neccesarily, created using something like [Kimono API](http://kimonolabs.com). Problem is, Kimono's service allows you to crawl one page for urls and then use that list to crawl each page But it doesn't give you a way to retrieve the page url in the output api having all the pages.

This is definately problematic if you would need to reference that crawled url somehow so I build this small library as a way to bridge between one API responding with a json object with urls to crawling each url encapsulating fetching, caching and error handling along the way.

{'fraction_non_alphanumeric': 0.04956268221574344, 'fraction_numerical': 0.0, 'mean_word_length': 4.5978260869565215, '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': '2381810', 'n_tokens_mistral': 265, 'n_tokens_neox': 250, 'n_words': 166}