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