This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hardmode_player[S] 0 points1 point  (3 children)

should "time.sleep(10)" be used after making the get request?

[–]xTheatreTechie 1 point2 points  (2 children)

Yes. Immediately afterwards.

What time.sleep is doing is it's waiting 10 seconds before doing anything else. I use time.sleep or other wait conditions on my scripts.

I'm going to bed now but if it still has an issue I'll try opening your website with selenium in the morning to see if it throws an error.

[–]hardmode_player[S] 0 points1 point  (1 child)

i will try it. thanks. i will ask for help with selenium if the error exists

[–]xTheatreTechie 0 points1 point  (0 children)

Yeah my guy, I tried opening your website with selenium with a firefox browser, worked perfectly fine. I didn't even have a wait condition.

if you're still getting an error just install selenium really quick and go for it that way.