mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-03 10:00:10 +00:00
Remove setuptools
This commit is contained in:
parent
d6013fae0d
commit
b88eac4499
@ -408,7 +408,7 @@ The `run-container` command mounts also the `config.json` file, so any change to
|
||||
| [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ |
|
||||
| [GuardaSerie](https://guardaserie.academy/) | ✅ |
|
||||
| [MostraGuarda](https://mostraguarda.stream/) | ✅ |
|
||||
| [StreamingCommunity](https://streamingcommunity.prof/) | ✅ |
|
||||
| [StreamingCommunity](https://streamingcommunity.ooo/) | ✅ |
|
||||
|
||||
|
||||
# Tutorials
|
||||
|
@ -3,7 +3,7 @@
|
||||
import re
|
||||
import sys
|
||||
import random
|
||||
import pkg_resources
|
||||
from importlib.metadata import version, PackageNotFoundError
|
||||
|
||||
|
||||
# External library
|
||||
@ -11,7 +11,11 @@ from fake_useragent import UserAgent
|
||||
|
||||
|
||||
# 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 ua_version == '1.1.3':
|
||||
ua = UserAgent(use_external_data=True)
|
||||
|
@ -59,7 +59,7 @@
|
||||
},
|
||||
"SITE": {
|
||||
"streamingcommunity": {
|
||||
"domain": "prof"
|
||||
"domain": "ooo"
|
||||
},
|
||||
"altadefinizione": {
|
||||
"domain": "prof"
|
||||
|
Loading…
x
Reference in New Issue
Block a user