Remove setuptools

This commit is contained in:
Lovi 2025-01-11 19:00:12 +01:00
parent d6013fae0d
commit b88eac4499
3 changed files with 8 additions and 4 deletions

View File

@ -408,7 +408,7 @@ The `run-container` command mounts also the `config.json` file, so any change to
| [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ | | [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ |
| [GuardaSerie](https://guardaserie.academy/) | ✅ | | [GuardaSerie](https://guardaserie.academy/) | ✅ |
| [MostraGuarda](https://mostraguarda.stream/) | ✅ | | [MostraGuarda](https://mostraguarda.stream/) | ✅ |
| [StreamingCommunity](https://streamingcommunity.prof/) | ✅ | | [StreamingCommunity](https://streamingcommunity.ooo/) | ✅ |
# Tutorials # Tutorials

View File

@ -3,7 +3,7 @@
import re import re
import sys import sys
import random import random
import pkg_resources from importlib.metadata import version, PackageNotFoundError
# External library # External library
@ -11,7 +11,11 @@ from fake_useragent import UserAgent
# Variable # Variable
ua_version = pkg_resources.get_distribution('fake-useragent').version try:
ua_version = version('fake-useragent')
except PackageNotFoundError:
ua_version = None
if not getattr(sys, 'frozen', False): if not getattr(sys, 'frozen', False):
if ua_version == '1.1.3': if ua_version == '1.1.3':
ua = UserAgent(use_external_data=True) ua = UserAgent(use_external_data=True)

View File

@ -59,7 +59,7 @@
}, },
"SITE": { "SITE": {
"streamingcommunity": { "streamingcommunity": {
"domain": "prof" "domain": "ooo"
}, },
"altadefinizione": { "altadefinizione": {
"domain": "prof" "domain": "prof"