Skip to content

Commit

Permalink
[philomena] fix '--range' (#4288)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jul 8, 2023
1 parent a27dbe8 commit a1ffa1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/extractor/philomena.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PhilomenaExtractor(BooruExtractor):
filename_fmt = "{filename}.{extension}"
archive_fmt = "{id}"
request_interval = 1.0
page_start = 1
per_page = 50

_file_url = operator.itemgetter("view_url")
Expand All @@ -28,7 +29,7 @@ def _prepare(post):
post["date"] = text.parse_datetime(post["created_at"])

def _pagination(self, url, params):
params["page"] = 1
params["page"] = self.page_start
params["per_page"] = self.per_page

api_key = self.config("api-key")
Expand Down

0 comments on commit a1ffa1f

Please sign in to comment.