mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +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/) | ✅ |
|
| [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
|
||||||
|
@ -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)
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
},
|
},
|
||||||
"SITE": {
|
"SITE": {
|
||||||
"streamingcommunity": {
|
"streamingcommunity": {
|
||||||
"domain": "prof"
|
"domain": "ooo"
|
||||||
},
|
},
|
||||||
"altadefinizione": {
|
"altadefinizione": {
|
||||||
"domain": "prof"
|
"domain": "prof"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user