StreamingCommunity 2.3.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 (109) hide show
  1. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/PKG-INFO +85 -18
  2. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/README.md +84 -17
  3. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/site.py +1 -1
  4. {StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/site.py +1 -1
  5. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/__init__.py +1 -1
  6. StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/animeunity/costant.py +19 -0
  7. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/film_serie.py +2 -2
  8. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/site.py +3 -3
  9. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/site.py +1 -1
  10. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/site.py +1 -1
  11. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/site.py +1 -1
  12. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/site.py +1 -1
  13. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/util/ilCorsarScraper.py +1 -1
  14. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/series.py +1 -1
  15. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/site.py +7 -4
  16. StreamingCommunity-2.4.0/StreamingCommunity/Api/Template/Util/get_domain.py +203 -0
  17. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/site.py +1 -1
  18. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/HLS/downloader.py +11 -1
  19. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/HLS/segments.py +17 -8
  20. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/TOR/downloader.py +3 -3
  21. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/decryptor.py +1 -0
  22. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/estimator.py +2 -2
  23. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/url_fixer.py +6 -0
  24. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/TMBD/tmdb.py +1 -1
  25. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Upload/version.py +1 -1
  26. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/_jsonConfig.py +43 -19
  27. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/ffmpeg_installer.py +31 -14
  28. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/headers.py +15 -2
  29. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/logger.py +9 -0
  30. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/os.py +100 -138
  31. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/table.py +6 -6
  32. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/run.py +61 -7
  33. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/PKG-INFO +85 -18
  34. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/SOURCES.txt +6 -5
  35. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/requires.txt +1 -1
  36. StreamingCommunity-2.4.0/Test/Util/oss.py +146 -0
  37. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/call_updateDomain.py +8 -15
  38. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/setup.py +1 -1
  39. StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/streamingcommunity/costant.py +0 -19
  40. StreamingCommunity-2.3.0/StreamingCommunity/Api/Template/Util/get_domain.py +0 -137
  41. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/MANIFEST.in +0 -0
  42. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/Helper/Vixcloud/js_parser.py +0 -0
  43. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/Helper/Vixcloud/util.py +0 -0
  44. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/ddl.py +0 -0
  45. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/maxstream.py +0 -0
  46. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/supervideo.py +0 -0
  47. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Player/vixcloud.py +0 -0
  48. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/__init__.py +0 -0
  49. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/costant.py +0 -0
  50. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/1337xx/title.py +0 -0
  51. {StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/__init__.py +0 -0
  52. {StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/costant.py +0 -0
  53. {StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/altadefinizione → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/altadefinizionegratis}/film.py +0 -0
  54. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/animeunity/util/ScrapeSerie.py +0 -0
  55. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/__init__.py +0 -0
  56. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/costant.py +0 -0
  57. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/cb01new/film.py +0 -0
  58. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/__init__.py +0 -0
  59. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/costant.py +0 -0
  60. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/series.py +0 -0
  61. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ddlstreamitaly/util/ScrapeSerie.py +0 -0
  62. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/__init__.py +0 -0
  63. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/costant.py +0 -0
  64. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/series.py +0 -0
  65. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/guardaserie/util/ScrapeSerie.py +0 -0
  66. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/__init__.py +0 -0
  67. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/costant.py +0 -0
  68. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/ilcorsaronero/title.py +0 -0
  69. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/mostraguarda/__init__.py +0 -0
  70. {StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/animeunity → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/mostraguarda}/costant.py +0 -0
  71. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/mostraguarda/film.py +0 -0
  72. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/__init__.py +0 -0
  73. {StreamingCommunity-2.3.0/StreamingCommunity/Api/Site/mostraguarda → StreamingCommunity-2.4.0/StreamingCommunity/Api/Site/streamingcommunity}/costant.py +0 -0
  74. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/film.py +0 -0
  75. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Site/streamingcommunity/util/ScrapeSerie.py +0 -0
  76. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Class/SearchType.py +0 -0
  77. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Util/__init__.py +0 -0
  78. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Util/manage_ep.py +0 -0
  79. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/Util/recall_search.py +0 -0
  80. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Api/Template/__init__.py +0 -0
  81. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/HLS/proxyes.py +0 -0
  82. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/MP4/downloader.py +0 -0
  83. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/Downloader/__init__.py +0 -0
  84. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/__init__.py +0 -0
  85. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/capture.py +0 -0
  86. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/command.py +0 -0
  87. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/FFmpeg/util.py +0 -0
  88. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/__init__.py +0 -0
  89. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/M3U8/parser.py +0 -0
  90. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/TMBD/__init__.py +0 -0
  91. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Lib/TMBD/obj_tmbd.py +0 -0
  92. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Upload/update.py +0 -0
  93. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/call_stack.py +0 -0
  94. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/color.py +0 -0
  95. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/console.py +0 -0
  96. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/Util/message.py +0 -0
  97. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity/__init__.py +0 -0
  98. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/dependency_links.txt +0 -0
  99. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/entry_points.txt +0 -0
  100. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/StreamingCommunity.egg-info/top_level.txt +0 -0
  101. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Download/HLS.py +0 -0
  102. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Download/MP4.py +0 -0
  103. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Download/TOR.py +0 -0
  104. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Player/helper/vixcloud.py +0 -0
  105. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Player/maxtream.py +0 -0
  106. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Player/supervideo.py +0 -0
  107. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/Player/vixcloud.py +0 -0
  108. {StreamingCommunity-2.3.0 → StreamingCommunity-2.4.0}/Test/big_search.py +0 -0
  109. {StreamingCommunity-2.3.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.3.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
@@ -18,9 +18,6 @@ Description: <p align="center">
18
18
  <a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
19
19
  <img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
20
20
  </a>
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"/>
23
- </a>
24
21
  <a href="https://github.com/Lovi-0/StreamingCommunity/commits">
25
22
  <img src="https://img.shields.io/github/commit-activity/m/Lovi-0/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
26
23
  </a>
@@ -30,17 +27,11 @@ Description: <p align="center">
30
27
  </p>
31
28
 
32
29
  <p align="center">
33
- <a href="https://pypi.org/project/streamingcommunity">
34
- <img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
35
- </a>
36
- <a href="https://github.com/Lovi-0/StreamingCommunity/network/members">
37
- <img src="https://img.shields.io/github/forks/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Forks"/>
38
- </a>
39
- <a href="https://github.com/Lovi-0/StreamingCommunity">
40
- <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"/>
41
32
  </a>
42
- <a href="https://github.com/Lovi-0/StreamingCommunity">
43
- <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"/>
44
35
  </a>
45
36
  </p>
46
37
 
@@ -50,6 +41,7 @@ Description: <p align="center">
50
41
  - 🛠️ [Installation](#installation)
51
42
  - 📦 [PyPI Installation](#1-pypi-installation)
52
43
  - 🔄 [Automatic Installation](#2-automatic-installation)
44
+ - 🔧 [Binary Location](#binary-location)
53
45
  - 📝 [Manual Installation](#3-manual-installation)
54
46
  - 💻 [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
55
47
  - 📱 [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
@@ -108,7 +100,7 @@ Description: <p align="center">
108
100
  python run_streaming.py
109
101
  ```
110
102
 
111
- ## Updating via PyPI
103
+ ### Updating via PyPI
112
104
 
113
105
  ```bash
114
106
  pip install --upgrade StreamingCommunity
@@ -163,6 +155,69 @@ Description: <p align="center">
163
155
  ./test_run.py
164
156
  ```
165
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
+
166
221
  ## 3. Manual Installation
167
222
 
168
223
  ### Requirements 📋
@@ -327,6 +382,10 @@ Description: <p align="center">
327
382
  ind - Indonesian vie - Vietnamese
328
383
  ```
329
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
+
330
389
  > [!IMPORTANT]
331
390
  > Language code availability may vary by site. Some platforms might:
332
391
  >
@@ -344,6 +403,14 @@ Description: <p align="center">
344
403
  > "specific_list_subtitles": ["ita", "eng", "spa"]
345
404
  > ```
346
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
+
347
414
  ## M3U8_PARSER Settings
348
415
 
349
416
  ```json
@@ -410,14 +477,14 @@ Description: <p align="center">
410
477
  | Website | Status |
411
478
  |:-------------------|:------:|
412
479
  | [1337xx](https://1337xx.to/) | ✅ |
413
- | [Altadefinizione](https://altadefinizione.prof/) | ✅ |
480
+ | [AltadefinizioneGratis](https://altadefinizionegratis.info/) | ✅ |
414
481
  | [AnimeUnity](https://animeunity.so/) | ✅ |
415
482
  | [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ |
416
- | [CB01New](https://cb01new.pics/) | ✅ |
483
+ | [CB01New](https://cb01new.video/) | ✅ |
417
484
  | [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ |
418
485
  | [GuardaSerie](https://guardaserie.academy/) | ✅ |
419
486
  | [MostraGuarda](https://mostraguarda.stream/) | ✅ |
420
- | [StreamingCommunity](https://streamingcommunity.prof/) | ✅ |
487
+ | [StreamingCommunity](https://streamingcommunity.ooo/) | ✅ |
421
488
 
422
489
 
423
490
  # Tutorials
@@ -9,9 +9,6 @@
9
9
  <a href="https://www.paypal.com/donate/?hosted_button_id=UXTWMT8P6HE2C">
10
10
  <img src="https://img.shields.io/badge/_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge" alt="Donate"/>
11
11
  </a>
12
- <a href="https://github.com/Lovi-0/StreamingCommunity/blob/main/LICENSE">
13
- <img src="https://img.shields.io/badge/License-GPL_3.0-blue.svg?style=for-the-badge" alt="License"/>
14
- </a>
15
12
  <a href="https://github.com/Lovi-0/StreamingCommunity/commits">
16
13
  <img src="https://img.shields.io/github/commit-activity/m/Lovi-0/StreamingCommunity?label=commits&style=for-the-badge" alt="Commits"/>
17
14
  </a>
@@ -21,17 +18,11 @@
21
18
  </p>
22
19
 
23
20
  <p align="center">
24
- <a href="https://pypi.org/project/streamingcommunity">
25
- <img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
26
- </a>
27
- <a href="https://github.com/Lovi-0/StreamingCommunity/network/members">
28
- <img src="https://img.shields.io/github/forks/Lovi-0/StreamingCommunity?style=for-the-badge" alt="Forks"/>
29
- </a>
30
- <a href="https://github.com/Lovi-0/StreamingCommunity">
31
- <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"/>
32
23
  </a>
33
- <a href="https://github.com/Lovi-0/StreamingCommunity">
34
- <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"/>
35
26
  </a>
36
27
  </p>
37
28
 
@@ -41,6 +32,7 @@
41
32
  - 🛠️ [Installation](#installation)
42
33
  - 📦 [PyPI Installation](#1-pypi-installation)
43
34
  - 🔄 [Automatic Installation](#2-automatic-installation)
35
+ - 🔧 [Binary Location](#binary-location)
44
36
  - 📝 [Manual Installation](#3-manual-installation)
45
37
  - 💻 [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
46
38
  - 📱 [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
@@ -99,7 +91,7 @@ Run the script:
99
91
  python run_streaming.py
100
92
  ```
101
93
 
102
- ## Updating via PyPI
94
+ ### Updating via PyPI
103
95
 
104
96
  ```bash
105
97
  pip install --upgrade StreamingCommunity
@@ -154,6 +146,69 @@ source .venv/bin/activate && python test_run.py && deactivate
154
146
  ./test_run.py
155
147
  ```
156
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
+
157
212
  ## 3. Manual Installation
158
213
 
159
214
  ### Requirements 📋
@@ -318,6 +373,10 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
318
373
  ind - Indonesian vie - Vietnamese
319
374
  ```
320
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
+
321
380
  > [!IMPORTANT]
322
381
  > Language code availability may vary by site. Some platforms might:
323
382
  >
@@ -335,6 +394,14 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
335
394
  > "specific_list_subtitles": ["ita", "eng", "spa"]
336
395
  > ```
337
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
+
338
405
  ## M3U8_PARSER Settings
339
406
 
340
407
  ```json
@@ -401,14 +468,14 @@ The `run-container` command mounts also the `config.json` file, so any change to
401
468
  | Website | Status |
402
469
  |:-------------------|:------:|
403
470
  | [1337xx](https://1337xx.to/) | ✅ |
404
- | [Altadefinizione](https://altadefinizione.prof/) | ✅ |
471
+ | [AltadefinizioneGratis](https://altadefinizionegratis.info/) | ✅ |
405
472
  | [AnimeUnity](https://animeunity.so/) | ✅ |
406
473
  | [Ilcorsaronero](https://ilcorsaronero.link/) | ✅ |
407
- | [CB01New](https://cb01new.pics/) | ✅ |
474
+ | [CB01New](https://cb01new.video/) | ✅ |
408
475
  | [DDLStreamItaly](https://ddlstreamitaly.co/) | ✅ |
409
476
  | [GuardaSerie](https://guardaserie.academy/) | ✅ |
410
477
  | [MostraGuarda](https://mostraguarda.stream/) | ✅ |
411
- | [StreamingCommunity](https://streamingcommunity.prof/) | ✅ |
478
+ | [StreamingCommunity](https://streamingcommunity.ooo/) | ✅ |
412
479
 
413
480
 
414
481
  # Tutorials
@@ -43,7 +43,7 @@ def title_search(word_to_search: str) -> int:
43
43
  domain_to_use = DOMAIN_NOW
44
44
 
45
45
  if not disable_searchDomain:
46
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
46
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
47
47
 
48
48
  # Construct the full site URL and load the search page
49
49
  try:
@@ -43,7 +43,7 @@ def title_search(title_search: str) -> int:
43
43
  domain_to_use = DOMAIN_NOW
44
44
 
45
45
  if not disable_searchDomain:
46
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
46
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
47
47
 
48
48
  # Send request to search for title
49
49
  client = httpx.Client()
@@ -27,7 +27,7 @@ def search(string_to_search: str = None, get_onylDatabase: bool = False):
27
27
  string_to_search = msg.ask(f"\n[purple]Insert word to search in [green]{SITE_NAME}").strip()
28
28
 
29
29
  # Search on database
30
- len_database = title_search(quote_plus(string_to_search))
30
+ len_database = title_search(string_to_search)
31
31
 
32
32
  # Return list of elements
33
33
  if get_onylDatabase:
@@ -0,0 +1,19 @@
1
+ # 26.05.24
2
+
3
+ import os
4
+
5
+
6
+ # Internal utilities
7
+ from StreamingCommunity.Util._jsonConfig import config_manager
8
+
9
+
10
+ SITE_NAME = os.path.basename(os.path.dirname(os.path.abspath(__file__)))
11
+ ROOT_PATH = config_manager.get('DEFAULT', 'root_path')
12
+ DOMAIN_NOW = config_manager.get_dict('SITE', SITE_NAME)['domain']
13
+
14
+ MOVIE_FOLDER = os.path.join(ROOT_PATH, config_manager.get('DEFAULT', 'movie_folder_name'))
15
+ ANIME_FOLDER = os.path.join(ROOT_PATH, config_manager.get('DEFAULT', 'anime_folder_name'))
16
+
17
+ if config_manager.get_bool("DEFAULT", "add_siteName"):
18
+ MOVIE_FOLDER = os.path.join(ROOT_PATH, SITE_NAME, config_manager.get('DEFAULT', 'movie_folder_name'))
19
+ ANIME_FOLDER = os.path.join(ROOT_PATH, config_manager.get('DEFAULT', 'anime_folder_name'))
@@ -23,7 +23,7 @@ from StreamingCommunity.Api.Player.vixcloud import VideoSourceAnime
23
23
 
24
24
 
25
25
  # Variable
26
- from .costant import SITE_NAME, SERIES_FOLDER, MOVIE_FOLDER
26
+ from .costant import SITE_NAME, ANIME_FOLDER, MOVIE_FOLDER
27
27
 
28
28
 
29
29
 
@@ -54,7 +54,7 @@ def download_episode(index_select: int, scrape_serie: ScrapeSerieAnime, video_so
54
54
 
55
55
  if scrape_serie.is_series:
56
56
  mp4_path = os_manager.get_sanitize_path(
57
- os.path.join(SERIES_FOLDER, scrape_serie.series_name)
57
+ os.path.join(ANIME_FOLDER, scrape_serie.series_name)
58
58
  )
59
59
  else:
60
60
  mp4_path = os_manager.get_sanitize_path(
@@ -110,7 +110,7 @@ def title_search(title: str) -> int:
110
110
  domain_to_use = DOMAIN_NOW
111
111
 
112
112
  if not disable_searchDomain:
113
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://www.{SITE_NAME}")
113
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://www.{SITE_NAME}.{DOMAIN_NOW}")
114
114
 
115
115
  data = get_token(SITE_NAME, domain_to_use)
116
116
 
@@ -128,8 +128,8 @@ def title_search(title: str) -> int:
128
128
  }
129
129
 
130
130
  # Prepare JSON data to be sent in the request
131
- json_data = {
132
- 'title': title # Use the provided title for the search
131
+ json_data = {
132
+ 'title': title
133
133
  }
134
134
 
135
135
  # Send a POST request to the API endpoint for live search
@@ -42,7 +42,7 @@ def title_search(word_to_search: str) -> int:
42
42
  domain_to_use = DOMAIN_NOW
43
43
 
44
44
  if not disable_searchDomain:
45
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
45
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
46
46
 
47
47
  response = httpx.get(
48
48
  url=f"https://{SITE_NAME}.{domain_to_use}/?s={word_to_search}",
@@ -46,7 +46,7 @@ def title_search(word_to_search: str) -> int:
46
46
  domain_to_use = DOMAIN_NOW
47
47
 
48
48
  if not disable_searchDomain:
49
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
49
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
50
50
 
51
51
  # Send request to search for titles
52
52
  try:
@@ -43,7 +43,7 @@ def title_search(word_to_search: str) -> int:
43
43
  domain_to_use = DOMAIN_NOW
44
44
 
45
45
  if not disable_searchDomain:
46
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
46
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
47
47
 
48
48
  # Send request to search for titles
49
49
  try:
@@ -38,7 +38,7 @@ async def title_search(word_to_search: str) -> int:
38
38
  domain_to_use = DOMAIN_NOW
39
39
 
40
40
  if not disable_searchDomain:
41
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
41
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
42
42
 
43
43
  # Create scraper and collect result
44
44
  print("\n")
@@ -54,7 +54,7 @@ class IlCorsaroNeroScraper:
54
54
  return response.text
55
55
 
56
56
  except Exception as e:
57
- logging.error(f"Error fetching {url}: {e}")
57
+ logging.error(f"Error fetching from {url}: {e}")
58
58
  return None
59
59
 
60
60
  def parse_torrents(self, html: str) -> List[Dict[str, str]]:
@@ -199,7 +199,7 @@ def display_episodes_list(scrape_serie) -> str:
199
199
  # Run the table and handle user input
200
200
  last_command = table_show_manager.run()
201
201
 
202
- if last_command == "q":
202
+ if last_command == "q" or last_command == "quit":
203
203
  console.print("\n[red]Quit [white]...")
204
204
  sys.exit(0)
205
205
 
@@ -1,6 +1,5 @@
1
1
  # 10.12.23
2
2
 
3
- import sys
4
3
  import json
5
4
  import logging
6
5
  import secrets
@@ -81,10 +80,14 @@ def get_version_and_domain():
81
80
  domain_to_use = DOMAIN_NOW
82
81
 
83
82
  if not disable_searchDomain:
84
- domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}")
83
+ domain_to_use, base_url = search_domain(SITE_NAME, f"https://{SITE_NAME}.{DOMAIN_NOW}")
85
84
 
86
- version = get_version(domain_to_use)
87
-
85
+ try:
86
+ version = get_version(domain_to_use)
87
+ except:
88
+ console.print("[green]Auto generate version ...")
89
+ version = secrets.token_hex(32 // 2)
90
+
88
91
  return version, domain_to_use
89
92
 
90
93