Merge branch 'release' into develop
This commit is contained in:
@@ -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.3.9'
|
__version__ = '0.0.4.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'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import logging
|
import logging
|
||||||
from . import mylogger
|
from . import mylogger
|
||||||
|
|
||||||
LOGGER_MODE = logging.DEBUG
|
LOGGER_MODE = None
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36'}
|
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36'}
|
||||||
|
|||||||
14
setup.py
14
setup.py
@@ -1,6 +1,6 @@
|
|||||||
from setuptools import setup, find_packages, Command
|
from setuptools import setup, find_packages, Command
|
||||||
from codecs import open
|
#from codecs import open as open_c
|
||||||
from os import path, system
|
from os import path, system, remove, rename
|
||||||
import re
|
import re
|
||||||
|
|
||||||
package_name = "pytchat"
|
package_name = "pytchat"
|
||||||
@@ -28,6 +28,16 @@ assert author
|
|||||||
assert author_email
|
assert author_email
|
||||||
assert url
|
assert url
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
with open('README.MD', 'r', encoding='utf-8') as f:
|
||||||
|
txt = f.read()
|
||||||
|
|
||||||
|
with open('README1.MD', 'w', encoding='utf-8', newline='\n') as f:
|
||||||
|
f.write(txt)
|
||||||
|
|
||||||
|
remove("README.MD")
|
||||||
|
rename("README1.MD","README.MD")
|
||||||
with open('README.md', encoding='utf-8') as f:
|
with open('README.md', encoding='utf-8') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user