Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7f2967a4f | ||
|
|
0a8ff3abdc | ||
|
|
9b38a5428d | ||
|
|
9311bf1993 | ||
|
|
ee839da7c9 | ||
|
|
2ae77b3850 | ||
|
|
afd7cea635 | ||
|
|
9018ff9ee4 |
2
.github/workflows/run_test.yml
vendored
2
.github/workflows/run_test.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.7, 3.8]
|
python-version: [3.7, 3.8, 3.9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -188,19 +188,3 @@ Structure of author object.
|
|||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
|
||||||
|
|
||||||
## Contributes
|
|
||||||
Great thanks:
|
|
||||||
|
|
||||||
Most of source code of CLI refer to:
|
|
||||||
|
|
||||||
[PetterKraabol / Twitch-Chat-Downloader](https://github.com/PetterKraabol/Twitch-Chat-Downloader)
|
|
||||||
|
|
||||||
Progress bar in CLI is based on:
|
|
||||||
|
|
||||||
[vladignatyev/progress.py](https://gist.github.com/vladignatyev/06860ec2040cb497f0f3)
|
|
||||||
|
|
||||||
## Author
|
|
||||||
|
|
||||||
[taizan-hokuto](https://github.com/taizan-hokuto)
|
|
||||||
|
|
||||||
[twitter:@taizan205](https://twitter.com/taizan205)
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
pytchat is a lightweight python library to browse youtube livechat without Selenium or BeautifulSoup.
|
pytchat is a lightweight python library to browse youtube livechat without Selenium or BeautifulSoup.
|
||||||
"""
|
"""
|
||||||
__copyright__ = 'Copyright (C) 2019, 2020 taizan-hokuto'
|
__copyright__ = 'Copyright (C) 2019, 2020 taizan-hokuto'
|
||||||
__version__ = '0.4.9'
|
__version__ = '0.5.0'
|
||||||
__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'
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ class PytchatCore:
|
|||||||
with httpx.Client(http2=True) as client:
|
with httpx.Client(http2=True) as client:
|
||||||
try:
|
try:
|
||||||
response = client.post(self._fetch_url, json=param)
|
response = client.post(self._fetch_url, json=param)
|
||||||
livechat_json = json.loads(response.text, encoding='utf-8')
|
livechat_json = json.loads(response.text)
|
||||||
break
|
break
|
||||||
except (json.JSONDecodeError, httpx.ConnectTimeout, httpx.ReadTimeout, httpx.ConnectError) as e:
|
except (json.JSONDecodeError, httpx.ConnectTimeout, httpx.ReadTimeout, httpx.ConnectError) as e:
|
||||||
err = e
|
err = e
|
||||||
|
|||||||
Reference in New Issue
Block a user