Comments (9)
what URLs are you using in config.py ? A 404 is a web server error - not something my script generates.
from web-traffic-generator.
can you copy/paste the output you're seeing?
from web-traffic-generator.
The output doesn't show anything. Just a blank white screen.
from web-traffic-generator.
public_html/cgi-bin/gen.py
public_html/cgi-bin/config.py
You didn't make any comment on the code I added to avoid the 404. I think the browser couldn't detect it was a .py until I added print "Content-type: text/html\n\n"
. Then it return a 404 but it displayed a blank page.
Please re-run on your own end. What am I supposed to see if it works?
from web-traffic-generator.
I just did a fresh clone of the repo and ran it without issues... Here is what the output should look like.
bash$ python gen.py
Traffic generator started...
----------------------------
https://github.com/ecapuano/web-traffic-generator
Clcking 5 links deep into 7 different root URLs,
waiting between 5 and 10 seconds between requests.
This script will run indefinitely. Ctrl+C to stop.
from web-traffic-generator.
You mention having a blank white screen.... but this script does not render anything on a screen other than standard out on your console... There is no web browser involvement.
from web-traffic-generator.
Well, my WHM said that they have Python version 2.6 installed on the server I am using. So I don't know the version of Python your script is running on.
from web-traffic-generator.
Is there like a vivid video of how you ran it and all the details concerned?
from web-traffic-generator.
Here ya go - from 0 to finish. The part where the code breaks is me hitting Ctrl+C so I can demonstrate when Debug is enabled.
https://asciinema.org/a/147170
from web-traffic-generator.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-traffic-generator.