Skip to main content
Source Link
davidbrown
  • 514
  • 4
  • 5

if response.status_code == 429:
  time.sleep(int(response.headers["Retry-After"]))