diff --git a/crawler.py b/crawler.py index 23dc8ec..f24eaeb 100644 --- a/crawler.py +++ b/crawler.py @@ -36,6 +36,9 @@ def main(args): try: with tqdm(total=max_len) as pbar: + if args.start_page_number: + pbar.update(data_number) + while data_number < max_len: pbar.set_description(f"Page number: {page_number}") time.sleep(5)