From b4f829a9e7f00b257c98d8fa52ffe79be3553085 Mon Sep 17 00:00:00 2001 From: tooomm Date: Wed, 6 Dec 2017 16:35:19 +0100 Subject: [PATCH] add sleep timer doc (#187) --- scryfall_scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scryfall_scraper.py b/scryfall_scraper.py index d5754b47..0849b676 100644 --- a/scryfall_scraper.py +++ b/scryfall_scraper.py @@ -18,7 +18,7 @@ def get_scryfall(setUrl='https://api.scryfall.com/cards/search?q=++e:xln'): setDone = True print 'No Scryfall data' scryfall = [''] - time.sleep(.1) + time.sleep(.1) # 100ms sleep, see "Rate Limits and Good Citizenship" at https://scryfall.com/docs/api if setcards.has_key('has_more'): if setcards['has_more']: setUrl = setcards['next_page']