cs2tracker 2.1.1__py3-none-any.whl → 2.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cs2tracker might be problematic. Click here for more details.
- cs2tracker/__main__.py +6 -1
- cs2tracker/_version.py +2 -2
- cs2tracker/application.py +52 -57
- cs2tracker/constants.py +173 -172
- cs2tracker/data/config.ini +12 -12
- cs2tracker/main.py +11 -4
- cs2tracker/scraper.py +333 -282
- {cs2tracker-2.1.1.dist-info → cs2tracker-2.1.3.dist-info}/METADATA +12 -5
- cs2tracker-2.1.3.dist-info/RECORD +14 -0
- cs2tracker-2.1.1.dist-info/RECORD +0 -14
- {cs2tracker-2.1.1.dist-info → cs2tracker-2.1.3.dist-info}/WHEEL +0 -0
- {cs2tracker-2.1.1.dist-info → cs2tracker-2.1.3.dist-info}/entry_points.txt +0 -0
- {cs2tracker-2.1.1.dist-info → cs2tracker-2.1.3.dist-info}/licenses/LICENSE.md +0 -0
- {cs2tracker-2.1.1.dist-info → cs2tracker-2.1.3.dist-info}/top_level.txt +0 -0
cs2tracker/main.py
CHANGED
|
@@ -3,12 +3,19 @@ from datetime import datetime
|
|
|
3
3
|
import urllib3
|
|
4
4
|
from rich.console import Console
|
|
5
5
|
|
|
6
|
-
from ._version import version
|
|
7
|
-
from .application import Application
|
|
6
|
+
from cs2tracker._version import version # pylint: disable=E0611
|
|
7
|
+
from cs2tracker.application import Application
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
def main():
|
|
11
|
-
|
|
11
|
+
"""
|
|
12
|
+
The main entry point for the CS2Tracker application.
|
|
13
|
+
|
|
14
|
+
Provides a console output with the application version and date, and initializes the
|
|
15
|
+
application.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
# Disable warnings for proxy requests
|
|
12
19
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
13
20
|
|
|
14
21
|
console = Console()
|
|
@@ -25,7 +32,7 @@ def main():
|
|
|
25
32
|
|
|
26
33
|
|
|
27
34
|
"""
|
|
28
|
-
+ f"Version: v{version} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @
|
|
35
|
+
+ f"Version: v{version} - {datetime.today().strftime('%Y/%m/%d')} - Jannik Novak @ashiven\n"
|
|
29
36
|
)
|
|
30
37
|
|
|
31
38
|
application = Application()
|