Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vkuznet/urlfetch2go

URL fetch proxy server (Go implementation)
https://github.com/vkuznet/urlfetch2go

Last synced: about 1 month ago
JSON representation

URL fetch proxy server (Go implementation)

Awesome Lists containing this project

README

        

urlfetch2go
===========

URL fetch proxy server (Go implementation)

### Description

This is draft implementation of URL fetch proxy server. The main idea is to
have a proxy server for concurent data fetching from provided URL lists. It is
implemented as sinle HTTP server which accepts POST request from a client. The
POST method is choosen due to ability to send multiple (large) URLs to proxy
server for data retrieval.

### Installation & Usage

To compile the URL server you need a Go compiler, then perform the following:

```
go build
```

It will build ```urlfetch2go``` executable which you can fetch from UNIX shell.
By default it serves requests on localhost:8000/getdata,
feel free to modify code accoringly.

I also provided a simple python client to demonstrate the usage of proxy
server. Modify code accoringly for your favorite URLs and run it as following:

```
python ./urlfetch_client.py
```