From 6a51d7f543a6cdaab368f1e8c2f761658123ddea Mon Sep 17 00:00:00 2001 From: Yoshiko2 Date: Thu, 12 May 2022 01:20:14 +0800 Subject: [PATCH 1/2] Update config.ini --- config.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ini b/config.ini index 9443b27..0515ea5 100755 --- a/config.ini +++ b/config.ini @@ -31,7 +31,7 @@ mapping_table_validity=7 [proxy] ;proxytype: http or socks5 or socks5h switch: 0 1 switch=0 -type=socks5 +type=socks5h proxy=127.0.0.1:1080 timeout=10 retry=3 From 8daafff1a0927400469a36bae7625b5a207f51de Mon Sep 17 00:00:00 2001 From: oOtroyOo <497790325@qq.com> Date: Thu, 12 May 2022 20:49:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?"=E9=85=8D=E4=BF=A1=E9=96=8B=E5=A7=8B?= =?UTF-8?q?=E6=97=A5=EF=BC=9A"=20=E8=A2=AB=E8=B7=B3=E8=BF=87=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebCrawler/fanza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebCrawler/fanza.py b/WebCrawler/fanza.py index 735bf72..bae3713 100644 --- a/WebCrawler/fanza.py +++ b/WebCrawler/fanza.py @@ -23,7 +23,7 @@ class fanzaCrawler(Crawler): def getRelease(fanza_Crawler): result = fanza_Crawler.getFanzaString('発売日:') - if result == '----': + if result == '' or result == '----': result = fanza_Crawler.getFanzaString('配信開始日:') return result.replace("/", "-").strip('\\n')