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"