Advertisement
TankorSmash

Untitled

Feb 28th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. import requests, time
  2.  
  3. url = r"http://www.thenextflick.com/movies"
  4.  
  5. while True:
  6.     r = requests.get(url)
  7.     print r.status_code
  8.  
  9.     r.raise_for_status()
  10.     time.sleep(60)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement