<commit_before># Forwarder

## Intro

It's a simple http forwarder, powered by Flask. The idea was totally stolen from
[Forwarder][] which was written by cdhigh using [Bottle][], I use Flask to implement it.
It's mainly developed to forward ZhihuDaily's feed because Zhihu block the
requests form GAE. It should be worked with [KindleEar][].

## Requirements

* Flask
* Requests

## Usage

make the url to be forwarded look like this:

    http://HOSTUTL/?k=KEY&t=TIMEOUT&u=URL
    k: valid keys.
    t: timeout, optional, default is 30s.
    u: url to be forwarded

For more details please check the [ZhihuDaily.py][]

## Reference

* [ZhihuDaily API][]
* [forwarder][] (can run on openshift)
* [ZhihuDailyForwarder][] (nodejs version)
* [issue#118] (the reason why I wrote this)

[Bottle]: http://bottlepy.org/docs/stable/index.html
[End-to-end and Hop-by-hop Headers]: http://tools.ietf.org/html/rfc2616.html#page-92
[flask api proxy]: http://www.tanquach.com/flask-api-proxy/
[Forwarder]: https://github.com/cdhigh/Forwarder
[forwarder]: https://github.com/seff/forwarder
[issue#118]: https://github.com/cdhigh/KindleEar/issues/118
[KindleEar]: https://github.com/cdhigh<commit_msg>Forwarder: fix the url link<commit_after># Forwarder

## Intro

It's a simple http forwarder, powered by Flask. The idea was totally stolen from
[Forwarder][] which was written by cdhigh using [Bottle][], I use Flask to implement it.
It's mainly developed to forward ZhihuDaily's feed because Zhihu block the
requests form GAE. It should be worked with [KindleEar][].

## Requirements

* Flask
* Requests

## Usage

make the url to be forwarded look like this:

    http://HOSTUTL/?k=KEY&t=TIMEOUT&u=URL
    k: valid keys.
    t: timeout, optional, default is 30s.
    u: url to be forwarded

For more details please check the [ZhihuDaily.py][]

## Reference

* [ZhihuDaily API][]
* [forwarder][] (can run on openshift)
* [ZhihuDailyForwarder][] (nodejs version)
* [issue#118][] (the reason why I wrote this)

[Bottle]: http://bottlepy.org/docs/stable/index.html
[End-to-end and Hop-by-hop Headers]: http://tools.ietf.org/html/rfc2616.html#page-92
[flask api proxy]: http://www.tanquach.com/flask-api-proxy/
[Forwarder]: https://github.com/cdhigh/Forwarder
[forwarder]: https://github.com/seff/forwarder
[issue#118]: https://github.com/cdhigh/KindleEar/issues/118
[KindleEar]: https://github.com/cdhigh
{'fraction_non_alphanumeric': 0.1360971524288107, 'fraction_numerical': 0.01423785594639866, 'mean_word_length': 4.4419134396355355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '5960950', 'n_tokens_mistral': 888, 'n_tokens_neox': 827, 'n_words': 249}