From 06f54fd985c73d0cdf00984217c2aa1195455023 Mon Sep 17 00:00:00 2001
From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com>
Date: Sun, 8 Nov 2020 12:30:40 +0900
Subject: [PATCH 1/2] Remove unnecessary console output
---
pytchat/processors/html_archiver.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pytchat/processors/html_archiver.py b/pytchat/processors/html_archiver.py
index c37cfca..2df69fb 100644
--- a/pytchat/processors/html_archiver.py
+++ b/pytchat/processors/html_archiver.py
@@ -51,7 +51,7 @@ class HTMLArchiver(ChatProcessor):
self.client = httpx.Client(http2=True)
self.save_path = self._checkpath(save_path)
self.processor = DefaultProcessor()
- self.emoji_table = {} # tuble for custom emojis. key: emoji_id, value: base64 encoded image binary.
+ self.emoji_table = {} # dict for custom emojis. key: emoji_id, value: base64 encoded image binary.
self.header = [HEADER_HTML]
self.body = ['
\n', '\n', self._parse_table_header(fmt_headers)]
self.callback = callback
@@ -123,7 +123,6 @@ class HTMLArchiver(ChatProcessor):
resp = self.client.get(url, timeout=30)
break
except httpx.HTTPError as e:
- print("Network Error. retrying...")
err = e
time.sleep(3)
else:
From cd20b74b2a04fcc3b32b0dd7369a5988fa8c5806 Mon Sep 17 00:00:00 2001
From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com>
Date: Sun, 8 Nov 2020 12:31:16 +0900
Subject: [PATCH 2/2] Increment version
---
pytchat/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pytchat/__init__.py b/pytchat/__init__.py
index 90c275b..dad8ba9 100644
--- a/pytchat/__init__.py
+++ b/pytchat/__init__.py
@@ -1,8 +1,8 @@
"""
pytchat is a lightweight python library to browse youtube livechat without Selenium or BeautifulSoup.
"""
-__copyright__ = 'Copyright (C) 2019 taizan-hokuto'
-__version__ = '0.4.1'
+__copyright__ = 'Copyright (C) 2019, 2020 taizan-hokuto'
+__version__ = '0.4.2'
__license__ = 'MIT'
__author__ = 'taizan-hokuto'
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'