Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/w0rp/random_internet
View a random sample of the Internet via peeking at the world wide web.
https://github.com/w0rp/random_internet
Last synced: about 2 months ago
JSON representation
View a random sample of the Internet via peeking at the world wide web.
- Host: GitHub
- URL: https://github.com/w0rp/random_internet
- Owner: w0rp
- License: bsd-2-clause
- Created: 2014-08-03T15:59:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-03T20:17:52.000Z (over 10 years ago)
- Last Synced: 2024-10-14T05:28:19.858Z (3 months ago)
- Language: Python
- Size: 289 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Internet Sampling
This repository holds a script for generating a random sample of the Internet.
Random URLs are generated and tested with HTTP requests, and the ones
which eventually return ```200 OK``` are printed to stdout.## Setup
Build a virtualenv to run the script with. You will need:
* Python 3.4
* Some kind of distutils/setuptools install.
* Some version of virtualenvThen run the script with ```./mkenv``` and use ```source env/bin/activate```
to use the virtualenv. After that, you can just run the script.```
./random_internet.py -h # Display some help, showing more info.
```### What If I'm Running Windows?
Please stop doing that.
## Contribution
Fork this or eat it or whatever. Have fun.