From 74dfe0a612b62cc8eae4d100d1e08f0f26af136d Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Tue, 10 Mar 2020 01:06:01 +0900 Subject: [PATCH 1/3] Modify requirements.txt --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a70e4f..ea514b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ aiohttp -argumentparser pytz requests urllib3 \ No newline at end of file From 23e47f6fb03fcd9f28338bb251cd0f59a0f95e8a Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Tue, 10 Mar 2020 01:57:01 +0900 Subject: [PATCH 2/3] Fix parsing video_id which starts with '-' --- pytchat/cli/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytchat/cli/__init__.py b/pytchat/cli/__init__.py index 0bcdc03..0bd99b3 100644 --- a/pytchat/cli/__init__.py +++ b/pytchat/cli/__init__.py @@ -35,6 +35,8 @@ def main(): # Extractor if Arguments().video_ids: for video_id in Arguments().video_ids: + if '[' in video_id: + video_id = video_id.replace('[','').replace(']','') try: info = VideoInfo(video_id) print(f"Extracting...\n" From 5e8c438c6b80ee5925d49a47f17e252b1f8e54b4 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Tue, 10 Mar 2020 01:57:55 +0900 Subject: [PATCH 3/3] Increment version --- pytchat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytchat/__init__.py b/pytchat/__init__.py index 5c271b3..390f047 100644 --- a/pytchat/__init__.py +++ b/pytchat/__init__.py @@ -2,7 +2,7 @@ pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup. """ __copyright__ = 'Copyright (C) 2019 taizan-hokuto' -__version__ = '0.0.6.4' +__version__ = '0.0.6.5' __license__ = 'MIT' __author__ = 'taizan-hokuto' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'