diff options
author | garret <garret@airmail.cc> | 2023-07-12 17:10:33 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2023-07-13 08:06:22 +0100 |
commit | 61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8 (patch) | |
tree | 8d065682f76a37441ce3cd357897be37f9abc432 /walker.py | |
parent | 5c882d09bb963b6d1a3af14168c975361be31c8d (diff) | |
download | comicwalker-dl-61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8.tar.gz comicwalker-dl-61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8.tar.bz2 comicwalker-dl-61b1bffbf50e5e9c0ae5c3e665ac9784ff63d2e8.zip |
remove newlines from prints
Diffstat (limited to 'walker.py')
-rw-r--r-- | walker.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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']):
|