Merge branch 'hotfix/argparse'

This commit is contained in:
taizan-hokuto
2020-03-10 01:58:24 +09:00
3 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup. pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup.
""" """
__copyright__ = 'Copyright (C) 2019 taizan-hokuto' __copyright__ = 'Copyright (C) 2019 taizan-hokuto'
__version__ = '0.0.6.4' __version__ = '0.0.6.5'
__license__ = 'MIT' __license__ = 'MIT'
__author__ = 'taizan-hokuto' __author__ = 'taizan-hokuto'
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'

View File

@@ -35,6 +35,8 @@ def main():
# Extractor # Extractor
if Arguments().video_ids: if Arguments().video_ids:
for video_id in Arguments().video_ids: for video_id in Arguments().video_ids:
if '[' in video_id:
video_id = video_id.replace('[','').replace(']','')
try: try:
info = VideoInfo(video_id) info = VideoInfo(video_id)
print(f"Extracting...\n" print(f"Extracting...\n"

View File

@@ -1,5 +1,4 @@
aiohttp aiohttp
argumentparser
pytz pytz
requests requests
urllib3 urllib3