How can I wait with requests 4 seconds (because the web page loads a part only after 2 seconds)?
With Python3 and requests (beautifulsoup4)
How can I wait with requests 4 seconds (because the web page loads a part only after 2 seconds)?
With Python3 and requests (beautifulsoup4)
I'm assuming you want to pause your program for 4 seconds after sending a request. If that's the case, then time.sleep will do the job for you.
import time
time.sleep(4)
You could try adding the time.sleep function everything you want to wait a few seconds
import time
time.sleep(4) #Time in seconds