GithubHelp home page GithubHelp logo

Comments (9)

ecapuano avatar ecapuano commented on July 18, 2024

what URLs are you using in config.py ? A 404 is a web server error - not something my script generates.

from web-traffic-generator.

ecapuano avatar ecapuano commented on July 18, 2024

can you copy/paste the output you're seeing?

from web-traffic-generator.

arize99 avatar arize99 commented on July 18, 2024

The output doesn't show anything. Just a blank white screen.

from web-traffic-generator.

arize99 avatar arize99 commented on July 18, 2024

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.

ecapuano avatar ecapuano commented on July 18, 2024

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.

ecapuano avatar ecapuano commented on July 18, 2024

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.

arize99 avatar arize99 commented on July 18, 2024

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.

arize99 avatar arize99 commented on July 18, 2024

Is there like a vivid video of how you ran it and all the details concerned?

from web-traffic-generator.

ecapuano avatar ecapuano commented on July 18, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.