@@ -396,7 +396,7 @@ def menu_download_by_tags(opisvalid, args, options):
396
396
else :
397
397
print ("Valid values are 'a', 'i', or 'm'." )
398
398
399
- if bookmark_count is not None and len (bookmark_count ) > 0 :
399
+ if bookmark_count is not None and bookmark_count != - 1 and len (bookmark_count ) > 0 :
400
400
bookmark_count = int (bookmark_count )
401
401
402
402
PixivTagsHandler .process_tags (sys .modules [__name__ ],
@@ -529,7 +529,7 @@ def menu_download_from_online_user_bookmark(opisvalid, args, options):
529
529
(start_page , end_page ) = PixivHelper .get_start_and_end_number (total_number_of_page = options .number_of_pages )
530
530
bookmark_count = input ('Bookmark Count: ' ).rstrip ("\r " ) or None
531
531
532
- if bookmark_count is not None and len (bookmark_count ) > 0 :
532
+ if bookmark_count is not None and bookmark_count != - 1 and len (bookmark_count ) > 0 :
533
533
bookmark_count = int (bookmark_count )
534
534
535
535
PixivBookmarkHandler .process_bookmark (sys .modules [__name__ ],
@@ -620,7 +620,7 @@ def menu_download_from_tags_list(opisvalid, args, options):
620
620
(page , end_page ) = PixivHelper .get_start_and_end_number (total_number_of_page = options .number_of_pages )
621
621
(start_date , end_date ) = PixivHelper .get_start_and_end_date ()
622
622
623
- if bookmark_count is not None and len (bookmark_count ) > 0 :
623
+ if bookmark_count is not None and bookmark_count != - 1 and len (bookmark_count ) > 0 :
624
624
bookmark_count = int (bookmark_count )
625
625
626
626
PixivListHandler .process_tags_list (sys .modules [__name__ ],
@@ -646,7 +646,7 @@ def menu_download_new_illust_from_bookmark(opisvalid, args, options):
646
646
(page_num , end_page_num ) = PixivHelper .get_start_and_end_number (total_number_of_page = options .number_of_pages )
647
647
bookmark_count = input ('Bookmark Count: ' ).rstrip ("\r " ) or None
648
648
649
- if bookmark_count is not None and len (bookmark_count ) > 0 :
649
+ if bookmark_count is not None and bookmark_count != - 1 and len (bookmark_count ) > 0 :
650
650
bookmark_count = int (bookmark_count )
651
651
652
652
PixivBookmarkHandler .process_new_illust_from_bookmark (sys .modules [__name__ ],
0 commit comments