[M]add logger

This commit is contained in:
Ching 2021-06-11 11:35:36 +08:00
parent 55989c0f84
commit 635c7973ea
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -65,6 +65,7 @@ def toot(proxy=None):
session.headers.update(ramdom_ua())
if proxy:
logger.info('~~~ proxy %s, usable proxy %s', proxy, usable_proxy)
session.proxies.update({"https": "https://{}".format(proxy)})
while page_count and jandan_pic_url: