From 6755bc8bb2ee3df45da793516360a307620eedaa Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 4 Oct 2020 11:29:52 +0900 Subject: [PATCH 1/2] Make sure to pass fixed filepath to processor --- pytchat/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytchat/cli/__init__.py b/pytchat/cli/__init__.py index 1e6a18f..97a6442 100644 --- a/pytchat/cli/__init__.py +++ b/pytchat/cli/__init__.py @@ -91,7 +91,7 @@ def main(): if data == []: return False pbar.reset("#", "=", total=len(data), status="Rendering ") - processor = HTMLArchiver(Arguments().output + video_id + '.html', callback=pbar._disp) + processor = HTMLArchiver(path, callback=pbar._disp) processor.process( [{'video_id': None, 'timeout': 1, From 50816a661dd6da49b9bab2ee8ac5b3399e168cd8 Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 4 Oct 2020 11:30:07 +0900 Subject: [PATCH 2/2] Increment version --- pytchat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytchat/__init__.py b/pytchat/__init__.py index e285854..5ec877c 100644 --- a/pytchat/__init__.py +++ b/pytchat/__init__.py @@ -2,7 +2,7 @@ pytchat is a lightweight python library to browse youtube livechat without Selenium or BeautifulSoup. """ __copyright__ = 'Copyright (C) 2019 taizan-hokuto' -__version__ = '0.2.9' +__version__ = '0.3.0' __license__ = 'MIT' __author__ = 'taizan-hokuto' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'