atconnect: Node.JS bugfix; atserver: address bugfix
This commit is contained in:
parent
7662f02d9c
commit
89608142fb
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ REQUA = \
|
||||||
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 ' \
|
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 ' \
|
||||||
'(KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 OPR/85.0.4341.47'
|
'(KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 OPR/85.0.4341.47'
|
||||||
|
|
||||||
ARROW_FN_REGEX = r'\(\(\)(.*?)\)\(\);'
|
ARROW_FN_REGEX = r'\(\(\).*?\)\(\);'
|
||||||
SCRIPT_TAG_REGEX = (
|
SCRIPT_TAG_REGEX = (
|
||||||
rb'<script type=([\'"]?)text/javascript\1>.+?</script>'
|
rb'<script type=([\'"]?)text/javascript\1>.+?</script>'
|
||||||
)
|
)
|
||||||
|
|
|
@ -299,7 +299,7 @@ class AternosServer:
|
||||||
Server address
|
Server address
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return self._info['displayAddress']
|
return f'{self.domain}:{self.port}'
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def domain(self) -> str:
|
def domain(self) -> str:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open('README.md', 'rt') as readme:
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='python-aternos',
|
name='python-aternos',
|
||||||
version='2.1.4',
|
version='2.2.0',
|
||||||
author='Chechkenev Andrey (@DarkCat09)',
|
author='Chechkenev Andrey (@DarkCat09)',
|
||||||
author_email='aacd0709@mail.ru',
|
author_email='aacd0709@mail.ru',
|
||||||
description='An unofficial Aternos API',
|
description='An unofficial Aternos API',
|
||||||
|
|
Reference in a new issue