Jump to content

Non linux refresh code

Windows9

Is there a python or windows script that lets me refresh a page around 30 times a second. Kind of like this but for Windows

ab -n 2000 -c 20 (URL goes here)

 

Please tag me @Windows9 so I can see your reply

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Windows9 said:

Don't want to run it in chrome, too hardware intensive, AMD A4 here

I can't see what are you trying to achieve, so I'm just gonna throw things here blindly.

 

On Windows 10, WSL can help you out. (I'm not sure about Windows 9)

Or something like this in python:

import urllib.request
import time

for _ in range(4):
    page = urllib.request.urlopen("https://api.jokes.one/jod")
    print(page.read()) # do something with the data
    time.sleep(1) # 1 sec sceep

EDIT:

Not sure about this, but i think that ab won't request referenced resources.

ಠ_ಠ

Link to comment
Share on other sites

Link to post
Share on other sites

@shadow_ray I am trying to refresh a forum page loads of times to get loads of views. Not doing a DDos. 

Please tag me @Windows9 so I can see your reply

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Windows9 said:

@shadow_ray I am trying to refresh a forum page loads of times to get loads of views. Not doing a DDos. 

Interesting... Idk how forums validate views...  you might need to send back a cookie or set a header or whatever.  Maybe someone, who knows about  web dev, can help you.

 

ಠ_ಠ

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, shadow_ray said:

Interesting... Idk how forums validate views...  you might need to send back a cookie or set a header or whatever.  Maybe someone, who knows about  web dev, can help you.

That's gonna end up being site dependent.

 

2 hours ago, Windows9 said:

I am trying to refresh a forum page loads of times to get loads of views. Not doing a DDos. 

Do you make money from the views on your page or will you if you get the view count high enough? Because if so, what you're planning is a scam.

ENCRYPTION IS NOT A CRIME

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, straight_stewie said:

That's gonna end up being site dependent.

I assume most forums use an engine like thing behind the hood and i doubt that a theme change affects internal stuff. 

ಠ_ಠ

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, shadow_ray said:

I assume most forums use an engine like thing behind the hood and i doubt that a theme change affects internal stuff. 

There are quite literally a billion different forum-engines. It really is quite site-dependent on how they calculate what is or isn't counted towards views.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, straight_stewie said:

Do you make money from the views on your page or will you if you get the view count high enough?

Don't make money, but basically you get this trophy (not physical)

Please tag me @Windows9 so I can see your reply

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×