Skip to content

Commit

Permalink
fix line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
sanddudu authored Oct 19, 2023
1 parent 6b22af9 commit dc1c213
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gallery_dl/extractor/kemonoparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ def __init__(self, match):
_, _, service, user_id, offset = match.groups()
self.subcategory = service
KemonopartyExtractor.__init__(self, match)
self.api_url = "{}/api/v1/{}/user/{}".format(self.root, service, user_id)
self.api_url = "{}/api/v1/{}/user/{}".format(
self.root, service, user_id)
self.user_url = "{}/{}/user/{}".format(self.root, service, user_id)
self.offset = text.parse_int(offset)

Expand Down Expand Up @@ -344,7 +345,8 @@ def items(self):
yield Message.Url, url, post

def posts(self):
url = "{}/api/v1/discord/channel/{}".format(self.root, self.channel_id)
url = "{}/api/v1/discord/channel/{}".format(
self.root, self.channel_id)
params = {"skip": 0}

while True:
Expand Down

0 comments on commit dc1c213

Please sign in to comment.