StreamingCommunity 1.9.90__py3-none-any.whl → 2.0.0__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 StreamingCommunity might be problematic. Click here for more details.

@@ -61,6 +61,10 @@ def download_film(movie_details: Json_film) -> str:
61
61
  logging.error(f"Not found in the server. Dict: {movie_details}")
62
62
  raise
63
63
 
64
+ if "not found" in str(response.text):
65
+ logging.error(f"Cant find in the server, Element: {movie_details}")
66
+ raise
67
+
64
68
  # Extract supervideo url
65
69
  soup = BeautifulSoup(response.text, "html.parser")
66
70
  player_links = soup.find("ul", class_ = "_player-mirrors").find_all("li")
@@ -76,13 +76,14 @@ def get_version_and_domain():
76
76
 
77
77
  # Extract version from the response
78
78
  try:
79
- version = get_version(httpx.get(
80
- url=base_url,
81
- headers={
82
- 'user-agent': get_headers()
83
- },
84
- timeout=max_timeout
85
- ).text)
79
+ version = get_version(
80
+ httpx.get(
81
+ url=base_url,
82
+ headers={'User-Agent': get_headers()},
83
+ timeout=max_timeout
84
+ ).text
85
+ )
86
+
86
87
  except:
87
88
  console.print("[green]Auto generate version ...")
88
89
  version = secrets.token_hex(32 // 2)
@@ -1,5 +1,5 @@
1
1
  __title__ = 'StreamingCommunity'
2
- __version__ = '1.9.8'
2
+ __version__ = '2.0.0'
3
3
  __author__ = 'Lovi-0'
4
4
  __description__ = 'A command-line program to download film'
5
5
  __copyright__ = 'Copyright 2024'
StreamingCommunity/run.py CHANGED
@@ -112,7 +112,7 @@ def initialize():
112
112
  if platform.system() == "Windows" and "7" in platform.version():
113
113
  os.system('mode 120, 40')
114
114
 
115
- """# Check python version
115
+ # Check python version
116
116
  if sys.version_info < (3, 7):
117
117
  console.log("[red]Install python version > 3.7.16")
118
118
  sys.exit(0)
@@ -122,7 +122,7 @@ def initialize():
122
122
  git_update()
123
123
  print()
124
124
  except:
125
- console.log("[red]Error with loading github.")"""
125
+ console.log("[red]Error with loading github.")
126
126
 
127
127
 
128
128
  def main():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: StreamingCommunity
3
- Version: 1.9.90
3
+ Version: 2.0.0
4
4
  Summary: A streaming community package
5
5
  Home-page: https://github.com/Lovi-0/StreamingCommunity
6
6
  Author: Lovi-0
@@ -26,38 +26,67 @@ Requires-Dist: qbittorrent-api
26
26
  Requires-Dist: python-qbittorrent
27
27
  Requires-Dist: googlesearch-python
28
28
 
29
- # StreamingCommunity Downloader
30
-
31
- ![Project Logo](https://i.ibb.co/f4h5Y2m/min-logo.png)
32
-
33
- A versatile script designed to download films and series from various supported streaming platforms.
34
-
35
- # 🤝 Join our Community
36
-
37
- Chat, contribute, and have fun in our **Git_StreamingCommunity** Discord [Server](https://discord.com/invite/8vV68UGRc7)
29
+ <p align="center">
30
+ <img src="https://i.ibb.co/PFnjvBc/immagine-2024-12-26-180318047.png" alt="Project Logo" width="700"/>
31
+ </p>
32
+
33
+ <p align="center">
34
+ <a href="https://pypi.org/project/streamingcommunity">
35
+ <img src="https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI"/>
36
+ </a>
37
+ <a href="https://www.python.org">
38
+ <img src="https://img.shields.io/badge/Python->=3.8-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python"/>
39
+ </a>
40
+ <a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
41
+ <img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
42
+ </a>
43
+ <a href="https://github.com/Lovi-0/StreamingCommunity/blob/main/LICENSE">
44
+ <img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
45
+ </a>
46
+ <a href="https://github.com/Lovi-0/StreamingCommunity/commits">
47
+ <img src="https://img.shields.io/github/commit-activity/m/Lovi-0/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
48
+ </a>
49
+ <a href="https://github.com/Lovi-0/StreamingCommunity/commits">
50
+ <img src="https://img.shields.io/github/last-commit/Lovi-0/StreamingCommunity/main?label=&style=for-the-badge&display_timestamp=committer" alt="Last Commit"/>
51
+ </a>
52
+ </p>
53
+
54
+ <p align="center">
55
+ <a href="https://pypi.org/project/streamingcommunity">
56
+ <img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
57
+ </a>
58
+ <a href="https://github.com/Lovi-0/StreamingCommunity/network/members">
59
+ <img src="https://img.shields.io/github/forks/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Forks"/>
60
+ </a>
61
+ <a href="https://github.com/Lovi-0/StreamingCommunity">
62
+ <img src="https://img.shields.io/github/languages/code-size/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Code Size"/>
63
+ </a>
64
+ <a href="https://github.com/Lovi-0/StreamingCommunity">
65
+ <img src="https://img.shields.io/github/repo-size/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Repo Size"/>
66
+ </a>
67
+ </p>
38
68
 
39
69
  # 📋 Table of Contents
40
70
 
41
- - [Website available](#website-status)
42
- - [Installation](#installation)
43
- - [PyPI Installation](#1-pypi-installation)
44
- - [Automatic Installation](#2-automatic-installation)
45
- - [Manual Installation](#3-manual-installation)
46
- - [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
47
- - [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
48
- - [Configuration](#configuration)
49
- - [Default](#default-settings)
50
- - [Request](#requests-settings)
51
- - [Download](#m3u8_download-settings)
52
- - [Parser](#m3u8_parser-settings)
53
- - [Docker](#docker)
54
- - [Tutorial](#tutorials)
55
- - [To Do](#to-do)
56
- - [Support](#support)
57
- - [Contribute](#contributing)
58
- - [Disclamer](#disclaimer)
59
-
60
-
71
+ - 🌐 [Website available](#website-status)
72
+ - 🛠️ [Installation](#installation)
73
+ - 📦 [PyPI Installation](#1-pypi-installation)
74
+ - 🔄 [Automatic Installation](#2-automatic-installation)
75
+ - 📝 [Manual Installation](#3-manual-installation)
76
+ - 💻 [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
77
+ - 📱 [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
78
+ - ⚙️ [Configuration](#configuration)
79
+ - 🔧 [Default](#default-settings)
80
+ - 📩 [Request](#requests-settings)
81
+ - 📥 [Download](#m3u8_download-settings)
82
+ - 🔍 [Parser](#m3u8_parser-settings)
83
+ - 🐳 [Docker](#docker)
84
+ - 🎓 [Tutorial](#tutorials)
85
+ - 📝 [To do](#to-do)
86
+ - 💬 [Support](#support)
87
+ - 🤝 [Contribute](#contributing)
88
+ - ⚠️ [Disclaimer](#disclaimer)
89
+ - ⚡ [Contributors](#contributors)
61
90
 
62
91
  # Installation
63
92
 
@@ -406,12 +435,6 @@ The `run-container` command mounts also the `config.json` file, so any change to
406
435
 
407
436
  - Create website API -> https://github.com/Lovi-0/StreamingCommunity/tree/test_gui_1
408
437
 
409
- # Support
410
-
411
- If you'd like to support this project, consider making a donation!
412
-
413
- [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C)
414
-
415
438
  # Contributing
416
439
 
417
440
  Contributions are welcome! Steps:
@@ -425,3 +448,9 @@ Contributions are welcome! Steps:
425
448
  # Disclaimer
426
449
 
427
450
  This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
451
+
452
+ ## Contributors
453
+
454
+ <a href="https://github.com/Lovi-0/StreamingCommunity/graphs/contributors" alt="View Contributors">
455
+ <img src="https://contrib.rocks/image?repo=Lovi-0/StreamingCommunity&max=1000&columns=10" alt="Contributors" />
456
+ </a>
@@ -1,5 +1,5 @@
1
1
  StreamingCommunity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- StreamingCommunity/run.py,sha256=21QDcUUy2-vhEJhRHNSI7RBUZ-kSqhGlOkaazZI3Kuc,6441
2
+ StreamingCommunity/run.py,sha256=8juF-UPFnzzs0AqJkF_FF10PkYisbqc70xypln1aMRc,6435
3
3
  StreamingCommunity/Api/Player/ddl.py,sha256=cRPb3sfX5o_rkJ33qe7rDGmlgRgYMr0LTmdZLCsbO90,2409
4
4
  StreamingCommunity/Api/Player/maxstream.py,sha256=0NwzyTFrIWC21xZytmg4Pl_ShAPfqIOXNU6XpEy9KuY,5304
5
5
  StreamingCommunity/Api/Player/supervideo.py,sha256=gNoAo_LVZWycfIzmK28erWRTXwNDV6FKJSLJ2Lrw_Ok,6118
@@ -40,12 +40,12 @@ StreamingCommunity/Api/Site/ilcorsaronero/title.py,sha256=5cPMiBWoZPUerS2aI_6qO1
40
40
  StreamingCommunity/Api/Site/ilcorsaronero/util/ilCorsarScraper.py,sha256=vMYSoa5bn5dIfsjMkb6_0fNf8fOu-7f2wJ9j9alzzFY,4791
41
41
  StreamingCommunity/Api/Site/mostraguarda/__init__.py,sha256=G6Ozksp8CGTHKy1LsdYJAxX9prnH3CPU_68xJHhRLDo,1175
42
42
  StreamingCommunity/Api/Site/mostraguarda/costant.py,sha256=bxFBx_dljZM8x4nxig8pg35ylDQnR4NNr2SV3_S7Lg0,451
43
- StreamingCommunity/Api/Site/mostraguarda/film.py,sha256=rS-so_rX-ASYvhAKBmqmLDOc1ViGt2AE-Tq6s4nDwaI,2944
43
+ StreamingCommunity/Api/Site/mostraguarda/film.py,sha256=21U1FvttpcYdIzPPY0kKPIgPe0z0IkGvU-wB11Dp7hQ,3081
44
44
  StreamingCommunity/Api/Site/streamingcommunity/__init__.py,sha256=KsgVib2AOW-afAMFmSgZQUUhjdpawq2kdDxhQ0_enrU,1485
45
45
  StreamingCommunity/Api/Site/streamingcommunity/costant.py,sha256=XEksndtxSC8As-r15f0hRuFAum-CjseegrVjFYOc_XY,436
46
46
  StreamingCommunity/Api/Site/streamingcommunity/film.py,sha256=f_jfKDVHr0o_-X7XEglUG0hW3U5RCtjzZcIh98S8TKs,2340
47
47
  StreamingCommunity/Api/Site/streamingcommunity/series.py,sha256=xLdoAr6qH9PMnPFEx1upCwvw7szxeFYIUD2tZvwpvE0,7389
48
- StreamingCommunity/Api/Site/streamingcommunity/site.py,sha256=g7Tdc0eFnUg8cetZYe1wux0n9Rdh8hTyoT0v1pw4cEw,3884
48
+ StreamingCommunity/Api/Site/streamingcommunity/site.py,sha256=6nW5USa6X5xiZvEHMRKipjZzsV__f8iV1Hx8dqEW2w0,3902
49
49
  StreamingCommunity/Api/Site/streamingcommunity/util/ScrapeSerie.py,sha256=sNK61c1V6ULTk2kJFBOq3q_jzv281gfE52cjh7Oufsg,4313
50
50
  StreamingCommunity/Api/Template/__init__.py,sha256=lhVpudlILM1L9iBZ_7vfYwgKyrdR1OWeLvk364-fJpU,48
51
51
  StreamingCommunity/Api/Template/site.py,sha256=Xk_XpZ97xDUhGeiwo-52b7h1kOVsRQVdCqoXcMs2zHk,2995
@@ -73,7 +73,7 @@ StreamingCommunity/Lib/TMBD/__init__.py,sha256=b3yUqfeBFpnKH-MScrZ3r90cpXc2ufCC-
73
73
  StreamingCommunity/Lib/TMBD/obj_tmbd.py,sha256=HEL3jAqUYtVgX7GCaw60EAD3JGvEJLOQXfD6lRYEjxA,1968
74
74
  StreamingCommunity/Lib/TMBD/tmdb.py,sha256=3UO_0uzi8xtrokX8Y_vO8vx_V8XHSkOVCqtgT-289GM,12000
75
75
  StreamingCommunity/Upload/update.py,sha256=MF1M-vypz-z6tn9z_lQkZCpXD02GvHC2UvsBcK0mNC0,2339
76
- StreamingCommunity/Upload/version.py,sha256=rlvQ-cCg4-evioHIq9gnvYxYRLAGr3e_olCfTFqoT3Y,175
76
+ StreamingCommunity/Upload/version.py,sha256=rqufxkhxojj2efd6SdeXRGYhZrlBbi_jGdALT1WsnC0,175
77
77
  StreamingCommunity/Util/_jsonConfig.py,sha256=CLvk6HWxUklZztoy55SzEOvdsbNo-pFcVQVanwixXCc,7001
78
78
  StreamingCommunity/Util/call_stack.py,sha256=zuYbO8dV8bCa7fCdtaKQYuheA5K7BkTm3Oj8JA6GCpM,1417
79
79
  StreamingCommunity/Util/color.py,sha256=1iQUf5xDp5XKKbXl9MvKEXJvv44Zf0P4J2Nu5ATIId8,479
@@ -84,9 +84,9 @@ StreamingCommunity/Util/logger.py,sha256=5XmFquGYt4FjvKNyYKa21mLLKARmzGWk-mBo05e
84
84
  StreamingCommunity/Util/message.py,sha256=pgUf50z4kSJjKHBlBKn5bd26xlAAEvlLiMs9dvcvJ_s,3675
85
85
  StreamingCommunity/Util/os.py,sha256=FydTixaZyrHN0ZPPmqXwuPCkUz7IG8-yIcMA1osD-sI,19472
86
86
  StreamingCommunity/Util/table.py,sha256=lKCgvrtfODuQY5dFJqlNUYL2aFzfij-efS5oGv84E44,8508
87
- StreamingCommunity-1.9.90.dist-info/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
88
- StreamingCommunity-1.9.90.dist-info/METADATA,sha256=5URNBLUTVrozQ7N5n7XLQdeOXHFmhQHraprU9A2mIOg,11464
89
- StreamingCommunity-1.9.90.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
90
- StreamingCommunity-1.9.90.dist-info/entry_points.txt,sha256=Qph9XYfDC8n4LfDLOSl6gJGlkb9eFb5f-JOr_Wb_5rk,67
91
- StreamingCommunity-1.9.90.dist-info/top_level.txt,sha256=YsOcxKP-WOhWpIWgBlh0coll9XUx7aqmRPT7kmt3fH0,19
92
- StreamingCommunity-1.9.90.dist-info/RECORD,,
87
+ StreamingCommunity-2.0.0.dist-info/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
88
+ StreamingCommunity-2.0.0.dist-info/METADATA,sha256=_O1JRXFC_HXh2OcqlwmBK4tBqVBcvpyjf3_xbmVmVhk,13439
89
+ StreamingCommunity-2.0.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
90
+ StreamingCommunity-2.0.0.dist-info/entry_points.txt,sha256=Qph9XYfDC8n4LfDLOSl6gJGlkb9eFb5f-JOr_Wb_5rk,67
91
+ StreamingCommunity-2.0.0.dist-info/top_level.txt,sha256=YsOcxKP-WOhWpIWgBlh0coll9XUx7aqmRPT7kmt3fH0,19
92
+ StreamingCommunity-2.0.0.dist-info/RECORD,,