remove debug print

This commit is contained in:
Ricter Z 2022-05-03 16:51:49 +08:00
parent 501840172e
commit eff4f3bf9b
2 changed files with 1 additions and 2 deletions

View File

@ -71,7 +71,7 @@ def cmd_parser():
help='all search results')
parser.add_option('--page', '--page-range', type='string', dest='page', action='store', default='',
help='page number of search results. e.g. 1,2-5,14')
parser.add_option('--sorting', dest='sorting', action='store', default='date',
parser.add_option('--sorting', dest='sorting', action='store', default='popular',
help='sorting of doujinshi (recent / popular / popular-[today|week])',
choices=['recent', 'popular', 'popular-today', 'popular-week', 'date'])

View File

@ -218,7 +218,6 @@ def search_parser(keyword, sorting, page, is_page_all=False):
try:
url = request('get', url=constant.SEARCH_URL, params={'query': keyword,
'page': p, 'sort': sorting}).url
print(url)
response = request('get', url.replace('%2B', '+')).json()
except Exception as e:
logger.critical(str(e))