Fix comment

This commit is contained in:
limkokhole
2022-01-23 12:40:00 +08:00
parent 6d68a954a4
commit 1fe66484a8

View File

@@ -1288,8 +1288,8 @@ def update_all( arg_thread_max :int, arg_cut :int, arg_rescrape :bool):
break break
if dir_origin in urls_map: if dir_origin in urls_map:
# cd_back_count: 3 means section, 2 means board, 1 means username # cd_back_count: 3 means section, 2 means board, 1 means username
# If input url is board url means is acceptable query that board regardless of username included it # If input url is section url means is acceptable scrape that specific section regardless of board included it
# ... bcoz is really type arg board url to log that time. # ... bcoz is really type arg section url to log that time. And -es is force later so no repeat.
if cd_back_count in (2, 3): # section separate scrape, not by username, while board check below if cd_back_count in (2, 3): # section separate scrape, not by username, while board check below
urls_map[dir_origin]['info'].append( {'url': folder_url, 'cd': cd_back_count} ) urls_map[dir_origin]['info'].append( {'url': folder_url, 'cd': cd_back_count} )
#print(urls_map[dir_origin]) #print(urls_map[dir_origin])