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' 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: