aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-07-12 17:10:33 +0100
committergarret <garret@airmail.cc>2023-07-13 08:06:22 +0100
commit61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8 (patch)
tree8d065682f76a37441ce3cd357897be37f9abc432
parent5c882d09bb963b6d1a3af14168c975361be31c8d (diff)
downloadcomicwalker-dl-61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8.tar.gz
comicwalker-dl-61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8.tar.bz2
comicwalker-dl-61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8.zip
remove newlines from prints
-rw-r--r--walker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/walker.py b/walker.py
index a3d7408..7c5ef5b 100644
--- a/walker.py
+++ b/walker.py
@@ -36,14 +36,14 @@ def start(url, headers):
def undrm(url, headers, cid_info):
meta = requests.get(url=url, headers=headers).json()
- print('Page count: {}\n'.format(len(meta['data']['result'])))
+ print('Page count: {}'.format(len(meta['data']['result'])))
save_path = os.path.join('downloaded_chapters/{}/{}'.format(cid_info['TITLE'], cid_info['CHAPTER']))
if not os.path.exists(save_path):
os.makedirs(save_path)
- print(f'Saving chapter to {save_path}\n')
+ print(f'Saving chapter to {save_path}')
for num, page in enumerate(meta['data']['result']):