|
@@ -324,6 +324,7 @@ def main():
|
|
|
parser.add_argument('--year', type=int, default=None, help='终止年份(如2023),未指定时抓取最新两个月')
|
|
|
args = parser.parse_args()
|
|
|
|
|
|
+ print(f'anhui args: {args}')
|
|
|
if args.year == 2023:
|
|
|
crawl_with_selenium('http://hefei.customs.gov.cn/hefei_customs/zfxxgkzl59/3169584/479584/479585/index.html','all')
|
|
|
else:
|