Skip to content

Commit

Permalink
[sankaku] increase default values for 'wait-min/-max'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Aug 3, 2018
1 parent 68d6033 commit b164231
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ extractor.sankaku.wait-min & .wait-max
--------------------------------------
=========== =====
Type ``float``
Default ``2.5`` and ``5.0``
Default ``3.0`` and ``6.0``
Description Minimum and maximum wait time in seconds between each image

Sankaku Channel responds with ``429 Too Many Requests`` if it
Expand Down
8 changes: 4 additions & 4 deletions docs/gallery-dl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
{
"username": null,
"password": null,
"wait-min": 2.5,
"wait-max": 5.0
"wait-min": 3.0,
"wait-max": 6.0
},
"imgur":
{
Expand Down Expand Up @@ -92,8 +92,8 @@
{
"username": null,
"password": null,
"wait-min": 2.5,
"wait-max": 5.0
"wait-min": 3.0,
"wait-max": 6.0
},
"seiga":
{
Expand Down
4 changes: 2 additions & 2 deletions gallery_dl/extractor/sankaku.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def __init__(self):
self.start_page = 1
self.start_post = 0
self.extags = self.config("tags", False)
self.wait_min = self.config("wait-min", 2.5)
self.wait_max = self.config("wait-max", 5.0)
self.wait_min = self.config("wait-min", 3.0)
self.wait_max = self.config("wait-max", 6.0)
if self.wait_max < self.wait_min:
self.wait_max = self.wait_min

Expand Down

0 comments on commit b164231

Please sign in to comment.