StreamingCommunity 2.2.0__tar.gz → 2.4.0__tar.gz

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.

Files changed (116) hide show
  1. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/PKG-INFO +116 -35
  2. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/README.md +115 -34
  3. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/Helper/Vixcloud/util.py +15 -24
  4. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/site.py +9 -6
  5. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/title.py +2 -2
  6. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis/costant.py +19 -0
  7. {StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/film.py +2 -2
  8. {StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/site.py +28 -22
  9. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/__init__.py +1 -1
  10. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/animeunity/costant.py +19 -0
  11. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/film_serie.py +3 -3
  12. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/site.py +29 -21
  13. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/cb01new/costant.py +19 -0
  14. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/film.py +2 -2
  15. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/site.py +20 -13
  16. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/ddlstreamitaly/costant.py +20 -0
  17. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/series.py +2 -2
  18. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/site.py +9 -5
  19. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/guardaserie/costant.py +19 -0
  20. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/series.py +2 -3
  21. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/site.py +10 -6
  22. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/ilcorsaronero/costant.py +19 -0
  23. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/site.py +22 -13
  24. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/title.py +3 -3
  25. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/util/ilCorsarScraper.py +1 -1
  26. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/mostraguarda/costant.py +19 -0
  27. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/mostraguarda/film.py +2 -2
  28. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/streamingcommunity/costant.py +19 -0
  29. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/film.py +3 -3
  30. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/series.py +3 -3
  31. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/site.py +30 -26
  32. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/util/ScrapeSerie.py +24 -24
  33. StreamingCommunity-2.4.0/StreamingCommunity/Api/Template/Util/get_domain.py +203 -0
  34. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/site.py +1 -1
  35. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/HLS/downloader.py +14 -3
  36. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/HLS/segments.py +36 -22
  37. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/TOR/downloader.py +3 -3
  38. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/decryptor.py +1 -0
  39. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/estimator.py +2 -2
  40. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/url_fixer.py +6 -0
  41. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/TMBD/tmdb.py +1 -1
  42. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Upload/version.py +1 -1
  43. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/_jsonConfig.py +43 -19
  44. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/ffmpeg_installer.py +31 -14
  45. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/headers.py +15 -2
  46. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/logger.py +9 -0
  47. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/os.py +100 -138
  48. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/table.py +6 -6
  49. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/run.py +61 -7
  50. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/PKG-INFO +116 -35
  51. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/SOURCES.txt +6 -5
  52. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/requires.txt +1 -1
  53. StreamingCommunity-2.4.0/Test/Util/oss.py +146 -0
  54. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/call_updateDomain.py +44 -8
  55. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/setup.py +1 -1
  56. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/altadefinizione/costant.py +0 -15
  57. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/animeunity/costant.py +0 -15
  58. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/cb01new/costant.py +0 -15
  59. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/ddlstreamitaly/costant.py +0 -16
  60. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/guardaserie/costant.py +0 -15
  61. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/ilcorsaronero/costant.py +0 -15
  62. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/mostraguarda/costant.py +0 -15
  63. StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/streamingcommunity/costant.py +0 -15
  64. StreamingCommunity-2.2.0/StreamingCommunity/Api/Template/Util/get_domain.py +0 -174
  65. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/MANIFEST.in +0 -0
  66. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/Helper/Vixcloud/js_parser.py +0 -0
  67. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/ddl.py +0 -0
  68. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/maxstream.py +0 -0
  69. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/supervideo.py +0 -0
  70. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/vixcloud.py +0 -0
  71. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/__init__.py +0 -0
  72. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/costant.py +0 -0
  73. {StreamingCommunity-2.2.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/__init__.py +0 -0
  74. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/util/ScrapeSerie.py +0 -0
  75. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/__init__.py +0 -0
  76. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/__init__.py +0 -0
  77. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/util/ScrapeSerie.py +0 -0
  78. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/__init__.py +0 -0
  79. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/util/ScrapeSerie.py +0 -0
  80. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/__init__.py +0 -0
  81. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/mostraguarda/__init__.py +0 -0
  82. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/__init__.py +0 -0
  83. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Class/SearchType.py +0 -0
  84. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Util/__init__.py +0 -0
  85. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Util/manage_ep.py +0 -0
  86. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Util/recall_search.py +0 -0
  87. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/__init__.py +0 -0
  88. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/HLS/proxyes.py +0 -0
  89. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/MP4/downloader.py +0 -0
  90. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/__init__.py +0 -0
  91. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/__init__.py +0 -0
  92. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/capture.py +0 -0
  93. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/command.py +0 -0
  94. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/util.py +0 -0
  95. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/__init__.py +0 -0
  96. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/parser.py +0 -0
  97. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/TMBD/__init__.py +0 -0
  98. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/TMBD/obj_tmbd.py +0 -0
  99. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Upload/update.py +0 -0
  100. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/call_stack.py +0 -0
  101. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/color.py +0 -0
  102. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/console.py +0 -0
  103. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/message.py +0 -0
  104. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity/__init__.py +0 -0
  105. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/dependency_links.txt +0 -0
  106. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/entry_points.txt +0 -0
  107. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/top_level.txt +0 -0
  108. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Download/HLS.py +0 -0
  109. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Download/MP4.py +0 -0
  110. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Download/TOR.py +0 -0
  111. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Player/helper/vixcloud.py +0 -0
  112. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Player/maxtream.py +0 -0
  113. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Player/supervideo.py +0 -0
  114. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/Player/vixcloud.py +0 -0
  115. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/Test/big_search.py +0 -0
  116. {StreamingCommunity-2.2.0 → StreamingCommunity-2.4.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: StreamingCommunity
3
- Version: 2.2.0
3
+ Version: 2.4.0
4
4
  Summary: UNKNOWN
5
5
  Home-page: https://github.com/Lovi-0/StreamingCommunity
6
6
  Author: Lovi-0
@@ -15,15 +15,9 @@ Description: <p align="center">
15
15
  <a href="https://pypi.org/project/streamingcommunity">
16
16
  <img src="https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI"/>
17
17
  </a>
18
- <a href="https://www.python.org">
19
- <img src="https://img.shields.io/badge/Python->=3.8-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python"/>
20
- </a>
21
18
  <a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
22
19
  <img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
23
20
  </a>
24
- <a href="https://github.com/Lovi-0/StreamingCommunity/blob/main/LICENSE">
25
- <img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
26
- </a>
27
21
  <a href="https://github.com/Lovi-0/StreamingCommunity/commits">
28
22
  <img src="https://img.shields.io/github/commit-activity/m/Lovi-0/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
29
23
  </a>
@@ -33,17 +27,11 @@ Description: <p align="center">
33
27
  </p>
34
28
 
35
29
  <p align="center">
36
- <a href="https://pypi.org/project/streamingcommunity">
37
- <img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
38
- </a>
39
- <a href="https://github.com/Lovi-0/StreamingCommunity/network/members">
40
- <img src="https://img.shields.io/github/forks/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Forks"/>
41
- </a>
42
- <a href="https://github.com/Lovi-0/StreamingCommunity">
43
- <img src="https://img.shields.io/github/languages/code-size/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Code Size"/>
30
+ <a href="https://github.com/Lovi-0/StreamingCommunity/blob/main/LICENSE">
31
+ <img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
44
32
  </a>
45
- <a href="https://github.com/Lovi-0/StreamingCommunity">
46
- <img src="https://img.shields.io/github/repo-size/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Repo Size"/>
33
+ <a href="https://pypi.org/project/streamingcommunity">
34
+ <img src="https://img.shields.io/pypi/dw/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
47
35
  </a>
48
36
  </p>
49
37
 
@@ -53,6 +41,7 @@ Description: <p align="center">
53
41
  - 🛠️ [Installation](#installation)
54
42
  - 📦 [PyPI Installation](#1-pypi-installation)
55
43
  - 🔄 [Automatic Installation](#2-automatic-installation)
44
+ - 🔧 [Binary Location](#binary-location)
56
45
  - 📝 [Manual Installation](#3-manual-installation)
57
46
  - 💻 [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
58
47
  - 📱 [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
@@ -71,6 +60,22 @@ Description: <p align="center">
71
60
 
72
61
  # Installation
73
62
 
63
+ <p align="center">
64
+ <a href="https://github.com/Lovi-0/StreamingCommunity/releases/latest/download/StreamingCommunity.exe">
65
+ <img src="https://img.shields.io/badge/-Windows_x64-blue.svg?style=for-the-badge&logo=windows" alt="Windows">
66
+ </a>
67
+ <a href="https://pypi.org/project/StreamingCommunity">
68
+ <img src="https://img.shields.io/badge/-PyPI-blue.svg?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI">
69
+ </a>
70
+ <a href="https://github.com/Lovi-0/StreamingCommunity/releases/latest/download/StreamingCommunity.zip">
71
+ <img src="https://img.shields.io/badge/-Source_tar-green.svg?style=for-the-badge" alt="Source Tarball">
72
+ </a>
73
+ <a href="https://github.com/Lovi-0/StreamingCommunity/releases">
74
+ <img src="https://img.shields.io/badge/-All_Versions-lightgrey.svg?style=for-the-badge" alt="All Versions">
75
+ </a>
76
+ </p>
77
+
78
+
74
79
  ## 1. PyPI Installation
75
80
 
76
81
  Install directly from PyPI:
@@ -95,7 +100,7 @@ Description: <p align="center">
95
100
  python run_streaming.py
96
101
  ```
97
102
 
98
- ## Updating via PyPI
103
+ ### Updating via PyPI
99
104
 
100
105
  ```bash
101
106
  pip install --upgrade StreamingCommunity
@@ -150,6 +155,69 @@ Description: <p align="center">
150
155
  ./test_run.py
151
156
  ```
152
157
 
158
+ ## Binary Location
159
+
160
+ ### Default Locations
161
+ - **Windows**: `C:\binary`
162
+ - **MacOS**: `~/Applications/binary`
163
+ - **Linux**: `~/.local/bin/binary`
164
+
165
+ You can customize these locations by following these steps for your operating system:
166
+
167
+ #### Windows
168
+ 1. Move the binary folder from `C:\binary` to your desired location
169
+ 2. Add the new path to Windows environment variables:
170
+ - Open Start menu and search for "Environment Variables"
171
+ - Click "Edit the system environment variables"
172
+ - Click "Environment Variables" button
173
+ - Under "System Variables", find and select "Path"
174
+ - Click "Edit"
175
+ - Add the new binary folder path
176
+ - Click "OK" to save changes
177
+
178
+ For detailed Windows PATH instructions, see the [Windows PATH guide](https://www.eukhost.com/kb/how-to-add-to-the-path-on-windows-10-and-windows-11/).
179
+
180
+ #### MacOS
181
+ 1. Move the binary folder from `~/Applications/binary` to your desired location
182
+ 2. Add the new path to your shell's configuration file:
183
+ ```bash
184
+ # For bash (edit ~/.bash_profile)
185
+ export PATH="/your/custom/path:$PATH"
186
+
187
+ # For zsh (edit ~/.zshrc)
188
+ export PATH="/your/custom/path:$PATH"
189
+ ```
190
+ 3. Reload your shell configuration:
191
+ ```bash
192
+ # For bash
193
+ source ~/.bash_profile
194
+
195
+ # For zsh
196
+ source ~/.zshrc
197
+ ```
198
+
199
+ #### Linux
200
+ 1. Move the binary folder from `~/.local/bin/binary` to your desired location
201
+ 2. Add the new path to your shell's configuration file:
202
+ ```bash
203
+ # For bash (edit ~/.bashrc)
204
+ export PATH="/your/custom/path:$PATH"
205
+
206
+ # For zsh (edit ~/.zshrc)
207
+ export PATH="/your/custom/path:$PATH"
208
+ ```
209
+ 3. Apply the changes:
210
+ ```bash
211
+ source ~/.bashrc # for bash
212
+ # or
213
+ source ~/.zshrc # for zsh
214
+ ```
215
+
216
+ > [!IMPORTANT]
217
+ > After moving the binary folder, ensure that all executables (ffmpeg, ffprobe, ffplay) are present in the new location and have the correct permissions:
218
+ > - Windows: `.exe` extensions required
219
+ > - MacOS/Linux: Ensure files have execute permissions (`chmod +x filename`)
220
+
153
221
  ## 3. Manual Installation
154
222
 
155
223
  ### Requirements 📋
@@ -210,12 +278,14 @@ Description: <p align="center">
210
278
  "movie_folder_name": "Movie",
211
279
  "serie_folder_name": "TV",
212
280
  "map_episode_name": "%(tv_name)_S%(season)E%(episode)_%(episode_name)",
281
+ "add_siteName": false,
282
+ "disable_searchDomain": false,
213
283
  "not_close": false
214
284
  }
215
285
  ```
216
286
 
217
287
  - `root_path`: Directory where all videos will be saved
218
-
288
+
219
289
  ### Path examples:
220
290
  * Windows: `C:\\MyLibrary\\Folder` or `\\\\MyServer\\MyLibrary` (if you want to use a network folder)
221
291
  * Linux/MacOS: `Desktop/MyLibrary/Folder`
@@ -237,7 +307,10 @@ Description: <p align="center">
237
307
  * `%(episode_name)` : Is the name of the episode
238
308
  `<br/><br/>`
239
309
 
240
- - `not_close`: If true, continues running after downloading
310
+ - `add_siteName`: If set to true, appends the site_name to the root path before the movie and serie folders.
311
+ - `disable_searchDomain`: If set to true, disables the search for a new domain for all sites.
312
+ - `not_close`: If set to true, keeps the program running after the download is complete.
313
+
241
314
 
242
315
  ### qBittorrent Configuration
243
316
 
@@ -254,7 +327,6 @@ Description: <p align="center">
254
327
 
255
328
  To enable qBittorrent integration, follow the setup guide [here](https://github.com/lgallard/qBittorrent-Controller/wiki/How-to-enable-the-qBittorrent-Web-UI).
256
329
 
257
- <br>
258
330
 
259
331
  ## REQUESTS Settings
260
332
 
@@ -268,7 +340,6 @@ Description: <p align="center">
268
340
  - `timeout`: Maximum timeout (in seconds) for each request
269
341
  - `max_retry`: Number of retry attempts per segment during M3U8 index download
270
342
 
271
- <br>
272
343
 
273
344
  ## M3U8_DOWNLOAD Settings
274
345
 
@@ -289,10 +360,9 @@ Description: <p align="center">
289
360
  - `cleanup_tmp_folder`: Remove temporary .ts files after download
290
361
 
291
362
  > [!IMPORTANT]
292
- > Set `tqdm_use_large_bar` to `false` when using Termux or terminals with limited width to prevent display issues
363
+ > Set `tqdm_use_large_bar` to `false` when using Termux or terminals with limited width to prevent network monitoring issues
293
364
 
294
365
 
295
- <br>
296
366
 
297
367
  ### Language Settings
298
368
 
@@ -312,6 +382,10 @@ Description: <p align="center">
312
382
  ind - Indonesian vie - Vietnamese
313
383
  ```
314
384
 
385
+ > [!NOTE]
386
+ > When using subtitles on Windows, please note that the default Windows Media Player may not display them correctly. We recommend using VLC Media Player for proper subtitle display and optimal playback experience.
387
+
388
+
315
389
  > [!IMPORTANT]
316
390
  > Language code availability may vary by site. Some platforms might:
317
391
  >
@@ -329,6 +403,14 @@ Description: <p align="center">
329
403
  > "specific_list_subtitles": ["ita", "eng", "spa"]
330
404
  > ```
331
405
 
406
+ For the best viewing experience, we recommend using VLC Media Player:
407
+ - Supports all video formats and codecs
408
+ - Properly displays embedded subtitles
409
+ - Available for all major operating systems
410
+ - Free and open-source
411
+
412
+ You can download VLC Media Player from the [official website](https://www.videolan.org/vlc/).
413
+
332
414
  ## M3U8_PARSER Settings
333
415
 
334
416
  ```json
@@ -341,7 +423,6 @@ Description: <p align="center">
341
423
  - `force_resolution`: Force specific resolution (-1 for best available, or specify 1080, 720, 360)
342
424
  - `get_only_link`: Return M3U8 playlist/index URL instead of downloading
343
425
 
344
- <br>
345
426
 
346
427
  # COMMAND
347
428
 
@@ -357,7 +438,6 @@ Description: <p align="center">
357
438
  - Enter a season number followed by `-*` to download from that season to the end.
358
439
  * **Example:** `3-*` will download from *Season 3* to the final season.
359
440
 
360
- <br>
361
441
 
362
442
  # Docker
363
443
 
@@ -396,15 +476,16 @@ Description: <p align="center">
396
476
 
397
477
  | Website | Status |
398
478
  |:-------------------|:------:|
399
- | 1337xx | ✅ |
400
- | Altadefinizione | ✅ |
401
- | AnimeUnity | ✅ |
402
- | Ilcorsaronero | ✅ |
403
- | CB01New | ✅ |
404
- | DDLStreamItaly | ✅ |
405
- | GuardaSerie | ✅ |
406
- | MostraGuarda | ✅ |
407
- | StreamingCommunity | ✅ |
479
+ | [1337xx](https://1337xx.to/) | ✅ |
480
+ | [AltadefinizioneGratis](https://altadefinizionegratis.info/) | ✅ |
481
+ | [AnimeUnity](https://animeunity.so/) | ✅ |
482
+ | [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ |
483
+ | [CB01New](https://cb01new.video/) | ✅ |
484
+ | [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ |
485
+ | [GuardaSerie](https://guardaserie.academy/) | ✅ |
486
+ | [MostraGuarda](https://mostraguarda.stream/) | ✅ |
487
+ | [StreamingCommunity](https://streamingcommunity.ooo/) | ✅ |
488
+
408
489
 
409
490
  # Tutorials
410
491
 
@@ -6,15 +6,9 @@
6
6
  <a href="https://pypi.org/project/streamingcommunity">
7
7
  <img src="https://img.shields.io/pypi/v/streamingcommunity?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI"/>
8
8
  </a>
9
- <a href="https://www.python.org">
10
- <img src="https://img.shields.io/badge/Python->=3.8-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python"/>
11
- </a>
12
9
  <a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
13
10
  <img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
14
11
  </a>
15
- <a href="https://github.com/Lovi-0/StreamingCommunity/blob/main/LICENSE">
16
- <img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
17
- </a>
18
12
  <a href="https://github.com/Lovi-0/StreamingCommunity/commits">
19
13
  <img src="https://img.shields.io/github/commit-activity/m/Lovi-0/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
20
14
  </a>
@@ -24,17 +18,11 @@
24
18
  </p>
25
19
 
26
20
  <p align="center">
27
- <a href="https://pypi.org/project/streamingcommunity">
28
- <img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
29
- </a>
30
- <a href="https://github.com/Lovi-0/StreamingCommunity/network/members">
31
- <img src="https://img.shields.io/github/forks/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Forks"/>
32
- </a>
33
- <a href="https://github.com/Lovi-0/StreamingCommunity">
34
- <img src="https://img.shields.io/github/languages/code-size/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Code Size"/>
21
+ <a href="https://github.com/Lovi-0/StreamingCommunity/blob/main/LICENSE">
22
+ <img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
35
23
  </a>
36
- <a href="https://github.com/Lovi-0/StreamingCommunity">
37
- <img src="https://img.shields.io/github/repo-size/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Repo Size"/>
24
+ <a href="https://pypi.org/project/streamingcommunity">
25
+ <img src="https://img.shields.io/pypi/dw/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
38
26
  </a>
39
27
  </p>
40
28
 
@@ -44,6 +32,7 @@
44
32
  - 🛠️ [Installation](#installation)
45
33
  - 📦 [PyPI Installation](#1-pypi-installation)
46
34
  - 🔄 [Automatic Installation](#2-automatic-installation)
35
+ - 🔧 [Binary Location](#binary-location)
47
36
  - 📝 [Manual Installation](#3-manual-installation)
48
37
  - 💻 [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
49
38
  - 📱 [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
@@ -62,6 +51,22 @@
62
51
 
63
52
  # Installation
64
53
 
54
+ <p align="center">
55
+ <a href="https://github.com/Lovi-0/StreamingCommunity/releases/latest/download/StreamingCommunity.exe">
56
+ <img src="https://img.shields.io/badge/-Windows_x64-blue.svg?style=for-the-badge&logo=windows" alt="Windows">
57
+ </a>
58
+ <a href="https://pypi.org/project/StreamingCommunity">
59
+ <img src="https://img.shields.io/badge/-PyPI-blue.svg?logo=pypi&labelColor=555555&style=for-the-badge" alt="PyPI">
60
+ </a>
61
+ <a href="https://github.com/Lovi-0/StreamingCommunity/releases/latest/download/StreamingCommunity.zip">
62
+ <img src="https://img.shields.io/badge/-Source_tar-green.svg?style=for-the-badge" alt="Source Tarball">
63
+ </a>
64
+ <a href="https://github.com/Lovi-0/StreamingCommunity/releases">
65
+ <img src="https://img.shields.io/badge/-All_Versions-lightgrey.svg?style=for-the-badge" alt="All Versions">
66
+ </a>
67
+ </p>
68
+
69
+
65
70
  ## 1. PyPI Installation
66
71
 
67
72
  Install directly from PyPI:
@@ -86,7 +91,7 @@ Run the script:
86
91
  python run_streaming.py
87
92
  ```
88
93
 
89
- ## Updating via PyPI
94
+ ### Updating via PyPI
90
95
 
91
96
  ```bash
92
97
  pip install --upgrade StreamingCommunity
@@ -141,6 +146,69 @@ source .venv/bin/activate && python test_run.py && deactivate
141
146
  ./test_run.py
142
147
  ```
143
148
 
149
+ ## Binary Location
150
+
151
+ ### Default Locations
152
+ - **Windows**: `C:\binary`
153
+ - **MacOS**: `~/Applications/binary`
154
+ - **Linux**: `~/.local/bin/binary`
155
+
156
+ You can customize these locations by following these steps for your operating system:
157
+
158
+ #### Windows
159
+ 1. Move the binary folder from `C:\binary` to your desired location
160
+ 2. Add the new path to Windows environment variables:
161
+ - Open Start menu and search for "Environment Variables"
162
+ - Click "Edit the system environment variables"
163
+ - Click "Environment Variables" button
164
+ - Under "System Variables", find and select "Path"
165
+ - Click "Edit"
166
+ - Add the new binary folder path
167
+ - Click "OK" to save changes
168
+
169
+ For detailed Windows PATH instructions, see the [Windows PATH guide](https://www.eukhost.com/kb/how-to-add-to-the-path-on-windows-10-and-windows-11/).
170
+
171
+ #### MacOS
172
+ 1. Move the binary folder from `~/Applications/binary` to your desired location
173
+ 2. Add the new path to your shell's configuration file:
174
+ ```bash
175
+ # For bash (edit ~/.bash_profile)
176
+ export PATH="/your/custom/path:$PATH"
177
+
178
+ # For zsh (edit ~/.zshrc)
179
+ export PATH="/your/custom/path:$PATH"
180
+ ```
181
+ 3. Reload your shell configuration:
182
+ ```bash
183
+ # For bash
184
+ source ~/.bash_profile
185
+
186
+ # For zsh
187
+ source ~/.zshrc
188
+ ```
189
+
190
+ #### Linux
191
+ 1. Move the binary folder from `~/.local/bin/binary` to your desired location
192
+ 2. Add the new path to your shell's configuration file:
193
+ ```bash
194
+ # For bash (edit ~/.bashrc)
195
+ export PATH="/your/custom/path:$PATH"
196
+
197
+ # For zsh (edit ~/.zshrc)
198
+ export PATH="/your/custom/path:$PATH"
199
+ ```
200
+ 3. Apply the changes:
201
+ ```bash
202
+ source ~/.bashrc # for bash
203
+ # or
204
+ source ~/.zshrc # for zsh
205
+ ```
206
+
207
+ > [!IMPORTANT]
208
+ > After moving the binary folder, ensure that all executables (ffmpeg, ffprobe, ffplay) are present in the new location and have the correct permissions:
209
+ > - Windows: `.exe` extensions required
210
+ > - MacOS/Linux: Ensure files have execute permissions (`chmod +x filename`)
211
+
144
212
  ## 3. Manual Installation
145
213
 
146
214
  ### Requirements 📋
@@ -201,12 +269,14 @@ The configuration file is divided into several main sections:
201
269
  "movie_folder_name": "Movie",
202
270
  "serie_folder_name": "TV",
203
271
  "map_episode_name": "%(tv_name)_S%(season)E%(episode)_%(episode_name)",
272
+ "add_siteName": false,
273
+ "disable_searchDomain": false,
204
274
  "not_close": false
205
275
  }
206
276
  ```
207
277
 
208
278
  - `root_path`: Directory where all videos will be saved
209
-
279
+
210
280
  ### Path examples:
211
281
  * Windows: `C:\\MyLibrary\\Folder` or `\\\\MyServer\\MyLibrary` (if you want to use a network folder)
212
282
  * Linux/MacOS: `Desktop/MyLibrary/Folder`
@@ -228,7 +298,10 @@ The configuration file is divided into several main sections:
228
298
  * `%(episode_name)` : Is the name of the episode
229
299
  `<br/><br/>`
230
300
 
231
- - `not_close`: If true, continues running after downloading
301
+ - `add_siteName`: If set to true, appends the site_name to the root path before the movie and serie folders.
302
+ - `disable_searchDomain`: If set to true, disables the search for a new domain for all sites.
303
+ - `not_close`: If set to true, keeps the program running after the download is complete.
304
+
232
305
 
233
306
  ### qBittorrent Configuration
234
307
 
@@ -245,7 +318,6 @@ The configuration file is divided into several main sections:
245
318
 
246
319
  To enable qBittorrent integration, follow the setup guide [here](https://github.com/lgallard/qBittorrent-Controller/wiki/How-to-enable-the-qBittorrent-Web-UI).
247
320
 
248
- <br>
249
321
 
250
322
  ## REQUESTS Settings
251
323
 
@@ -259,7 +331,6 @@ The configuration file is divided into several main sections:
259
331
  - `timeout`: Maximum timeout (in seconds) for each request
260
332
  - `max_retry`: Number of retry attempts per segment during M3U8 index download
261
333
 
262
- <br>
263
334
 
264
335
  ## M3U8_DOWNLOAD Settings
265
336
 
@@ -280,10 +351,9 @@ The configuration file is divided into several main sections:
280
351
  - `cleanup_tmp_folder`: Remove temporary .ts files after download
281
352
 
282
353
  > [!IMPORTANT]
283
- > Set `tqdm_use_large_bar` to `false` when using Termux or terminals with limited width to prevent display issues
354
+ > Set `tqdm_use_large_bar` to `false` when using Termux or terminals with limited width to prevent network monitoring issues
284
355
 
285
356
 
286
- <br>
287
357
 
288
358
  ### Language Settings
289
359
 
@@ -303,6 +373,10 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
303
373
  ind - Indonesian vie - Vietnamese
304
374
  ```
305
375
 
376
+ > [!NOTE]
377
+ > When using subtitles on Windows, please note that the default Windows Media Player may not display them correctly. We recommend using VLC Media Player for proper subtitle display and optimal playback experience.
378
+
379
+
306
380
  > [!IMPORTANT]
307
381
  > Language code availability may vary by site. Some platforms might:
308
382
  >
@@ -320,6 +394,14 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
320
394
  > "specific_list_subtitles": ["ita", "eng", "spa"]
321
395
  > ```
322
396
 
397
+ For the best viewing experience, we recommend using VLC Media Player:
398
+ - Supports all video formats and codecs
399
+ - Properly displays embedded subtitles
400
+ - Available for all major operating systems
401
+ - Free and open-source
402
+
403
+ You can download VLC Media Player from the [official website](https://www.videolan.org/vlc/).
404
+
323
405
  ## M3U8_PARSER Settings
324
406
 
325
407
  ```json
@@ -332,7 +414,6 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
332
414
  - `force_resolution`: Force specific resolution (-1 for best available, or specify 1080, 720, 360)
333
415
  - `get_only_link`: Return M3U8 playlist/index URL instead of downloading
334
416
 
335
- <br>
336
417
 
337
418
  # COMMAND
338
419
 
@@ -348,7 +429,6 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
348
429
  - Enter a season number followed by `-*` to download from that season to the end.
349
430
  * **Example:** `3-*` will download from *Season 3* to the final season.
350
431
 
351
- <br>
352
432
 
353
433
  # Docker
354
434
 
@@ -387,15 +467,16 @@ The `run-container` command mounts also the `config.json` file, so any change to
387
467
 
388
468
  | Website | Status |
389
469
  |:-------------------|:------:|
390
- | 1337xx | ✅ |
391
- | Altadefinizione | ✅ |
392
- | AnimeUnity | ✅ |
393
- | Ilcorsaronero | ✅ |
394
- | CB01New | ✅ |
395
- | DDLStreamItaly | ✅ |
396
- | GuardaSerie | ✅ |
397
- | MostraGuarda | ✅ |
398
- | StreamingCommunity | ✅ |
470
+ | [1337xx](https://1337xx.to/) | ✅ |
471
+ | [AltadefinizioneGratis](https://altadefinizionegratis.info/) | ✅ |
472
+ | [AnimeUnity](https://animeunity.so/) | ✅ |
473
+ | [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ |
474
+ | [CB01New](https://cb01new.video/) | ✅ |
475
+ | [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ |
476
+ | [GuardaSerie](https://guardaserie.academy/) | ✅ |
477
+ | [MostraGuarda](https://mostraguarda.stream/) | ✅ |
478
+ | [StreamingCommunity](https://streamingcommunity.ooo/) | ✅ |
479
+
399
480
 
400
481
  # Tutorials
401
482
 
@@ -5,18 +5,14 @@ from typing import Dict, Any, List, Union
5
5
 
6
6
  class Episode:
7
7
  def __init__(self, data: Dict[str, Any]):
8
- self.images = None
9
8
  self.data = data
10
9
 
11
- self.id: int = data.get('id')
12
- self.scws_id: int = data.get('scws_id')
13
- self.number: int = data.get('number')
14
- self.name: str = data.get('name')
15
- self.plot: str = data.get('plot')
16
- self.duration: int = data.get('duration')
17
-
18
- def collect_image(self, SITE_NAME, domain):
19
- self.image = f"https://cdn.{SITE_NAME}.{domain}/images/{self.data.get('images')[0]['filename']}"
10
+ self.id: int = data.get('id', 0)
11
+ self.scws_id: int = data.get('scws_id', 0)
12
+ self.number: int = data.get('number', 1)
13
+ self.name: str = data.get('name', '')
14
+ self.plot: str = data.get('plot', '')
15
+ self.duration: int = data.get('duration', 0)
20
16
 
21
17
  def __str__(self):
22
18
  return f"Episode(id={self.id}, number={self.number}, name='{self.name}', plot='{self.plot}', duration={self.duration} sec)"
@@ -71,24 +67,19 @@ class EpisodeManager:
71
67
 
72
68
  class Season:
73
69
  def __init__(self, season_data: Dict[str, Union[int, str, None]]):
74
- self.images = {}
75
70
  self.season_data = season_data
76
71
 
77
- self.id: int = season_data.get('id')
78
- self.scws_id: int = season_data.get('scws_id')
79
- self.imdb_id: int = season_data.get('imdb_id')
80
- self.number: int = season_data.get('number')
81
- self.name: str = season_data.get('name')
82
- self.slug: str = season_data.get('slug')
83
- self.plot: str = season_data.get('plot')
84
- self.type: str = season_data.get('type')
85
- self.seasons_count: int = season_data.get('seasons_count')
72
+ self.id: int = season_data.get('id', 0)
73
+ self.scws_id: int = season_data.get('scws_id', 0)
74
+ self.imdb_id: int = season_data.get('imdb_id', 0)
75
+ self.number: int = season_data.get('number', 0)
76
+ self.name: str = season_data.get('name', '')
77
+ self.slug: str = season_data.get('slug', '')
78
+ self.plot: str = season_data.get('plot', '')
79
+ self.type: str = season_data.get('type', '')
80
+ self.seasons_count: int = season_data.get('seasons_count', 0)
86
81
  self.episodes: EpisodeManager = EpisodeManager()
87
82
 
88
- def collect_images(self, SITE_NAME, domain):
89
- for dict_image in self.season_data.get('images'):
90
- self.images[dict_image.get('type')] = f"https://cdn.{SITE_NAME}.{domain}/images/{dict_image.get('filename')}"
91
-
92
83
 
93
84
  class Stream:
94
85
  def __init__(self, name: str, url: str, active: bool):
@@ -19,9 +19,11 @@ from StreamingCommunity.Api.Template.Class.SearchType import MediaManager
19
19
 
20
20
 
21
21
  # Variable
22
- from .costant import SITE_NAME
22
+ from .costant import SITE_NAME, DOMAIN_NOW
23
23
  media_search_manager = MediaManager()
24
24
  table_show_manager = TVShowManager()
25
+ max_timeout = config_manager.get_int("REQUESTS", "timeout")
26
+ disable_searchDomain = config_manager.get_bool("DEFAULT", "disable_searchDomain")
25
27
 
26
28
 
27
29
  def title_search(word_to_search: str) -> int:
@@ -38,8 +40,10 @@ def title_search(word_to_search: str) -> int:
38
40
  table_show_manager.clear()
39
41
 
40
42
  # Find new domain if prev dont work
41
- max_timeout = config_manager.get_int("REQUESTS", "timeout")
42
- domain_to_use, _ = search_domain(SITE_NAME, f"https://{SITE_NAME}")
43
+ domain_to_use = DOMAIN_NOW
44
+
45
+ if not disable_searchDomain:
46
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
43
47
 
44
48
  # Construct the full site URL and load the search page
45
49
  try:
@@ -57,7 +61,6 @@ def title_search(word_to_search: str) -> int:
57
61
  # Create soup and find table
58
62
  soup = BeautifulSoup(response.text, "html.parser")
59
63
 
60
- # Scrape div film in table on single page
61
64
  for tr in soup.find_all('tr'):
62
65
  try:
63
66
 
@@ -72,8 +75,8 @@ def title_search(word_to_search: str) -> int:
72
75
 
73
76
  media_search_manager.add_media(title_info)
74
77
 
75
- except:
76
- continue
78
+ except Exception as e:
79
+ print(f"Error parsing a film entry: {e}")
77
80
 
78
81
  # Return the number of titles found
79
82
  return media_search_manager.get_length()
@@ -21,7 +21,7 @@ from StreamingCommunity.Api.Template.Class.SearchType import MediaItem
21
21
 
22
22
 
23
23
  # Config
24
- from .costant import ROOT_PATH, DOMAIN_NOW, SITE_NAME, MOVIE_FOLDER
24
+ from .costant import DOMAIN_NOW, SITE_NAME, MOVIE_FOLDER
25
25
 
26
26
 
27
27
  def download_title(select_title: MediaItem):
@@ -39,7 +39,7 @@ def download_title(select_title: MediaItem):
39
39
  # Define output path
40
40
  title_name = os_manager.get_sanitize_file(select_title.name)
41
41
  mp4_path = os_manager.get_sanitize_path(
42
- os.path.join(ROOT_PATH, MOVIE_FOLDER, title_name.replace(".mp4", ""))
42
+ os.path.join(MOVIE_FOLDER, title_name.replace(".mp4", ""))
43
43
  )
44
44
 
45
45
  # Create output folder