From a1fdd3454d2a907db751cecf00ca01b7d7e50914 Mon Sep 17 00:00:00 2001 From: garret Date: Wed, 12 Jul 2023 16:14:11 +0100 Subject: whitespace remove trailing whitespace, add newline at end (automatic changes by my text editor) --- walker.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'walker.py') diff --git a/walker.py b/walker.py index 7e49f91..9c626fa 100644 --- a/walker.py +++ b/walker.py @@ -61,15 +61,15 @@ def undrm(url, headers, cid_info): with open(f'{save_path}/{pagination}', 'wb') as f: f.write(xor(enc, key)) - + logging.info('Done.') def xor(bin, key): retval = [] - + for i in range(len(bin)): retval.append(bin[i] ^ key[i % len(key)]) - + return bytes(retval) def main(): @@ -92,8 +92,8 @@ def main(): } content_url = f'https://comicwalker-api.nicomanga.jp/api/v1/comicwalker/episodes/{args.cid}' - + start(content_url, headers) if __name__ == "__main__": - main() \ No newline at end of file + main() -- cgit v1.2.3-70-g09d2