StreamingCommunity 1.7.6__tar.gz → 1.9.1__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-1.7.6/StreamingCommunity.egg-info → streamingcommunity-1.9.1}/PKG-INFO +126 -60
  2. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/README.md +123 -58
  3. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Player/Helper/Vixcloud/js_parser.py +4 -1
  4. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Player/Helper/Vixcloud/util.py +166 -166
  5. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Player/ddl.py +89 -89
  6. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Player/maxstream.py +151 -151
  7. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Player/supervideo.py +193 -193
  8. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Player/vixcloud.py +224 -212
  9. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/1337xx/__init__.py +50 -50
  10. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/1337xx/costant.py +15 -15
  11. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/1337xx/site.py +83 -83
  12. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/1337xx/title.py +66 -66
  13. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/altadefinizione/__init__.py +50 -50
  14. {streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/mostraguarda → streamingcommunity-1.9.1/StreamingCommunity/Api/Site/altadefinizione}/costant.py +15 -15
  15. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/altadefinizione/film.py +69 -69
  16. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/altadefinizione/site.py +86 -86
  17. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/animeunity/__init__.py +50 -50
  18. {streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/altadefinizione → streamingcommunity-1.9.1/StreamingCommunity/Api/Site/animeunity}/costant.py +15 -15
  19. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/animeunity/film_serie.py +130 -131
  20. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/animeunity/site.py +164 -164
  21. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/animeunity/util/ScrapeSerie.py +3 -3
  22. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/bitsearch/__init__.py +51 -51
  23. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/bitsearch/costant.py +15 -15
  24. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/bitsearch/site.py +84 -84
  25. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/bitsearch/title.py +47 -47
  26. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/cb01new/__init__.py +51 -51
  27. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/cb01new/costant.py +15 -15
  28. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/cb01new/film.py +69 -69
  29. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/cb01new/site.py +74 -74
  30. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/ddlstreamitaly/__init__.py +57 -57
  31. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/ddlstreamitaly/costant.py +16 -16
  32. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/ddlstreamitaly/series.py +141 -142
  33. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/ddlstreamitaly/site.py +92 -92
  34. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/ddlstreamitaly/util/ScrapeSerie.py +84 -82
  35. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/guardaserie/__init__.py +52 -52
  36. {streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/piratebays → streamingcommunity-1.9.1/StreamingCommunity/Api/Site/guardaserie}/costant.py +15 -15
  37. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/guardaserie/series.py +195 -195
  38. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/guardaserie/site.py +84 -84
  39. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/guardaserie/util/ScrapeSerie.py +110 -110
  40. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/mostraguarda/__init__.py +48 -48
  41. {streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/animeunity → streamingcommunity-1.9.1/StreamingCommunity/Api/Site/mostraguarda}/costant.py +15 -15
  42. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/mostraguarda/film.py +94 -94
  43. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/piratebays/__init__.py +50 -50
  44. {streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/guardaserie → streamingcommunity-1.9.1/StreamingCommunity/Api/Site/piratebays}/costant.py +15 -15
  45. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/piratebays/site.py +88 -88
  46. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/piratebays/title.py +45 -45
  47. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/streamingcommunity/__init__.py +55 -55
  48. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/streamingcommunity/costant.py +15 -15
  49. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/streamingcommunity/film.py +70 -70
  50. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/streamingcommunity/series.py +205 -203
  51. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/streamingcommunity/site.py +125 -125
  52. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Site/streamingcommunity/util/ScrapeSerie.py +3 -3
  53. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Template/Class/SearchType.py +101 -101
  54. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Template/Util/__init__.py +4 -4
  55. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Template/Util/get_domain.py +137 -137
  56. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Template/Util/manage_ep.py +153 -153
  57. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Template/Util/recall_search.py +37 -37
  58. streamingcommunity-1.9.1/StreamingCommunity/Api/Template/__init__.py +3 -0
  59. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Api/Template/site.py +87 -87
  60. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Downloader/HLS/downloader.py +968 -968
  61. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Downloader/HLS/proxyes.py +110 -110
  62. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Downloader/HLS/segments.py +538 -540
  63. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Downloader/MP4/downloader.py +156 -156
  64. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Downloader/TOR/downloader.py +222 -222
  65. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Downloader/__init__.py +4 -4
  66. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/Driver/driver_1.py +76 -76
  67. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/FFmpeg/__init__.py +4 -4
  68. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/FFmpeg/capture.py +170 -170
  69. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/FFmpeg/command.py +292 -292
  70. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/FFmpeg/util.py +241 -241
  71. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/M3U8/__init__.py +5 -5
  72. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/M3U8/decryptor.py +164 -129
  73. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/M3U8/estimator.py +175 -172
  74. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/M3U8/parser.py +666 -666
  75. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/M3U8/url_fixer.py +51 -51
  76. streamingcommunity-1.9.1/StreamingCommunity/Lib/TMBD/__init__.py +2 -0
  77. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/TMBD/obj_tmbd.py +39 -39
  78. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Lib/TMBD/tmdb.py +345 -345
  79. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Upload/update.py +68 -64
  80. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Upload/version.py +5 -5
  81. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/_jsonConfig.py +204 -204
  82. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/call_stack.py +42 -42
  83. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/color.py +20 -20
  84. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/console.py +12 -12
  85. streamingcommunity-1.9.1/StreamingCommunity/Util/ffmpeg_installer.py +275 -0
  86. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/headers.py +147 -147
  87. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/logger.py +53 -53
  88. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/message.py +46 -46
  89. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/os.py +514 -417
  90. {streamingcommunity-1.7.6/StreamingCommunity/Src → streamingcommunity-1.9.1/StreamingCommunity}/Util/table.py +163 -163
  91. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/StreamingCommunity/run.py +202 -196
  92. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1/StreamingCommunity.egg-info}/PKG-INFO +126 -60
  93. streamingcommunity-1.9.1/StreamingCommunity.egg-info/SOURCES.txt +108 -0
  94. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/StreamingCommunity.egg-info/requires.txt +2 -1
  95. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Download/HLS.py +22 -22
  96. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Download/MP4.py +23 -23
  97. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Download/TOR.py +25 -25
  98. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Player/helper/vixcloud.py +8 -6
  99. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Player/maxtream.py +22 -22
  100. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Player/supervideo.py +22 -22
  101. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/Player/vixcloud.py +26 -26
  102. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/Test/big_search.py +116 -116
  103. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/requirements.txt +2 -1
  104. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/setup.py +1 -1
  105. streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/animeunity/anime.py +0 -126
  106. streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/ddlstreamitaly/Player/ScrapeSerie.py +0 -83
  107. streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Site/guardaserie/Player/ScrapeSerie.py +0 -110
  108. streamingcommunity-1.7.6/StreamingCommunity/Src/Api/Template/__init__.py +0 -3
  109. streamingcommunity-1.7.6/StreamingCommunity/Src/Lib/TMBD/__init__.py +0 -2
  110. streamingcommunity-1.7.6/StreamingCommunity.egg-info/SOURCES.txt +0 -110
  111. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/LICENSE +0 -0
  112. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/MANIFEST.in +0 -0
  113. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/StreamingCommunity.egg-info/dependency_links.txt +0 -0
  114. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/StreamingCommunity.egg-info/entry_points.txt +0 -0
  115. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/StreamingCommunity.egg-info/top_level.txt +0 -0
  116. {streamingcommunity-1.7.6 → streamingcommunity-1.9.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: StreamingCommunity
3
- Version: 1.7.6
3
+ Version: 1.9.1
4
4
  Home-page: https://github.com/Lovi-0/StreamingCommunity
5
5
  Author: Lovi-0
6
6
  Project-URL: Bug Reports, https://github.com/Lovi-0/StreamingCommunity/issues
@@ -18,7 +18,8 @@ Requires-Dist: psutil
18
18
  Requires-Dist: unidecode
19
19
  Requires-Dist: jsbeautifier
20
20
  Requires-Dist: pathvalidate
21
- Requires-Dist: fake-useragent
21
+ Requires-Dist: pycryptodome
22
+ Requires-Dist: fake-useragent==1.1.3
22
23
  Requires-Dist: qbittorrent-api
23
24
  Requires-Dist: python-qbittorrent
24
25
  Requires-Dist: googlesearch-python
@@ -29,25 +30,34 @@ Requires-Dist: googlesearch-python
29
30
 
30
31
  A versatile script designed to download films and series from various supported streaming platforms.
31
32
 
32
- ## 🤝 Join our Community
33
+ # 🤝 Join our Community
33
34
 
34
35
  Chat, contribute, and have fun in our **Git_StreamingCommunity** Discord [Server](https://discord.com/invite/8vV68UGRc7)
35
36
 
36
- ## 📋 Table of Contents
37
+ # 📋 Table of Contents
37
38
 
39
+ - [Website available](#website-status)
38
40
  - [Installation](#installation)
39
- - [PyPI Installation](#pypi-installation)
40
- - [Automatic Installation](#automatic-installation)
41
- - [Manual Installation](#manual-installation)
41
+ - [PyPI Installation](#1-pypi-installation)
42
+ - [Automatic Installation](#2-automatic-installation)
43
+ - [Manual Installation](#3-manual-installation)
42
44
  - [Win 7](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Installation#win-7)
43
45
  - [Termux](https://github.com/Ghost6446/StreamingCommunity_api/wiki/Termux)
44
46
  - [Configuration](#configuration)
45
- - [Tutorial](#tutorial)
47
+ - [Default](#default-settings)
48
+ - [Request](#requests-settings)
49
+ - [Browser](#browser-settings)
50
+ - [Download](#m3u8_download-settings)
51
+ - [Parser](#m3u8_parser-settings)
52
+ - [Docker](#docker)
53
+ - [Tutorial](#tutorials)
46
54
  - [To Do](#to-do)
47
55
 
48
- ## 💻 Installation
49
56
 
50
- ### 1. PyPI Installation
57
+
58
+ # Installation
59
+
60
+ ## 1. PyPI Installation
51
61
 
52
62
  Install directly from PyPI:
53
63
 
@@ -55,7 +65,7 @@ Install directly from PyPI:
55
65
  pip install StreamingCommunity
56
66
  ```
57
67
 
58
- #### Creating a Run Script
68
+ ### Creating a Run Script
59
69
 
60
70
  Create `run_streaming.py`:
61
71
 
@@ -71,15 +81,15 @@ Run the script:
71
81
  python run_streaming.py
72
82
  ```
73
83
 
74
- #### Updating via PyPI
84
+ ## Updating via PyPI
75
85
 
76
86
  ```bash
77
87
  pip install --upgrade StreamingCommunity
78
88
  ```
79
89
 
80
- ### 2. Automatic Installation
90
+ ## 2. Automatic Installation
81
91
 
82
- #### Supported Operating Systems 💿
92
+ ### Supported Operating Systems 💿
83
93
 
84
94
  | OS | Automatic Installation Support |
85
95
  |:----------------|:------------------------------:|
@@ -92,95 +102,99 @@ pip install --upgrade StreamingCommunity
92
102
  | MacOS | ✔️ |
93
103
  | Termux | ❌ |
94
104
 
95
- #### Installation Steps
105
+ ### Installation Steps
96
106
 
97
- ##### On Windows:
107
+ #### On Windows:
98
108
 
99
109
  ```powershell
100
110
  .\win_install.bat
101
111
  ```
102
112
 
103
- ##### On Linux/MacOS/BSD:
113
+ #### On Linux/MacOS/BSD:
104
114
 
105
115
  ```bash
106
116
  sudo chmod +x unix_install.sh && ./unix_install.sh
107
117
  ```
108
118
 
109
- #### Usage
119
+ ### Usage
110
120
 
111
- ##### On Windows:
121
+ #### On Windows:
112
122
 
113
123
  ```powershell
114
- python .\run.py
124
+ python .\test_run.py
115
125
  ```
116
126
 
117
127
  or
118
128
 
119
129
  ```powershell
120
- source .venv/bin/activate && python run.py && deactivate
130
+ source .venv/bin/activate && python test_run.py && deactivate
121
131
  ```
122
132
 
123
- ##### On Linux/MacOS/BSD:
133
+ #### On Linux/MacOS/BSD:
124
134
 
125
135
  ```bash
126
- ./run.py
136
+ ./test_run.py
127
137
  ```
128
138
 
129
- ### 3. Manual Installation
139
+ ## 3. Manual Installation
130
140
 
131
- #### Requirements 📋
141
+ ### Requirements 📋
132
142
 
133
143
  Prerequisites:
134
144
  * [Python](https://www.python.org/downloads/) > 3.8
135
145
  * [FFmpeg](https://www.gyan.dev/ffmpeg/builds/)
136
146
 
137
- #### Install Python Dependencies
147
+ ### Install Python Dependencies
138
148
 
139
149
  ```bash
140
150
  pip install -r requirements.txt
141
151
  ```
142
152
 
143
- #### Usage
153
+ ### Usage
144
154
 
145
- ##### On Windows:
155
+ #### On Windows:
146
156
 
147
157
  ```powershell
148
- python run.py
158
+ python test_run.py
149
159
  ```
150
160
 
151
- ##### On Linux/MacOS:
161
+ #### On Linux/MacOS:
152
162
 
153
163
  ```bash
154
- python3 run.py
164
+ python3 test_run.py
155
165
  ```
156
166
 
157
- ### Update
167
+ ## Update
158
168
 
159
169
  Keep your script up to date with the latest features by running:
160
170
 
161
- #### On Windows:
171
+ ### On Windows:
162
172
 
163
173
  ```powershell
164
174
  python update.py
165
175
  ```
166
176
 
167
- #### On Linux/MacOS:
177
+ ### On Linux/MacOS:
168
178
 
169
179
  ```bash
170
180
  python3 update.py
171
181
  ```
172
182
 
173
- ## Configuration ⚙️
183
+ <br>
184
+
185
+ # Configuration
174
186
 
175
187
  You can change some behaviors by tweaking the configuration file.
176
188
 
177
189
  The configuration file is divided into several main sections:
178
190
 
179
- ### DEFAULT Settings
191
+ ## DEFAULT Settings
180
192
 
181
193
  ```json
182
194
  {
183
195
  "root_path": "Video",
196
+ "movie_folder_name": "Movie",
197
+ "serie_folder_name": "TV",
184
198
  "map_episode_name": "%(tv_name)_S%(season)E%(episode)_%(episode_name)",
185
199
  "not_close": false,
186
200
  "show_trending": false
@@ -189,15 +203,17 @@ The configuration file is divided into several main sections:
189
203
 
190
204
  - `root_path`: Directory where all videos will be saved
191
205
 
192
- #### Path examples:
193
-
194
-
206
+ ### Path examples:
195
207
  * Windows: `C:\\MyLibrary\\Folder` or `\\\\MyServer\\MyLibrary` (if you want to use a network folder)
196
208
  * Linux/MacOS: `Desktop/MyLibrary/Folder`
197
209
  `<br/><br/>`
210
+
211
+ - `movie_folder_name`: The name of the subdirectory where movies will be stored.
212
+ - `serie_folder_name`: The name of the subdirectory where TV series will be stored.
213
+
198
214
  - `map_episode_name`: Template for TV series episode filenames
199
215
 
200
- #### Episode name usage:
216
+ ### Episode name usage:
201
217
 
202
218
  You can choose different vars:
203
219
 
@@ -211,22 +227,24 @@ The configuration file is divided into several main sections:
211
227
  - `not_close`: If true, continues running after downloading
212
228
  - `show_trending`: Display trending content on startup
213
229
 
214
- #### qBittorrent Configuration
230
+ ### qBittorrent Configuration
215
231
 
216
- ```json
217
- {
218
- "config_qbit_tor": {
219
- "host": "192.168.1.59",
220
- "port": "8080",
221
- "user": "admin",
222
- "pass": "adminadmin"
232
+ ```json
233
+ {
234
+ "config_qbit_tor": {
235
+ "host": "192.168.1.59",
236
+ "port": "8080",
237
+ "user": "admin",
238
+ "pass": "adminadmin"
239
+ }
223
240
  }
224
- }
225
- ```
241
+ ```
242
+
243
+ To enable qBittorrent integration, follow the setup guide [here](https://github.com/lgallard/qBittorrent-Controller/wiki/How-to-enable-the-qBittorrent-Web-UI).
226
244
 
227
- To enable qBittorrent integration, follow the setup guide [here](https://github.com/lgallard/qBittorrent-Controller/wiki/How-to-enable-the-qBittorrent-Web-UI).
245
+ <br>
228
246
 
229
- ### REQUESTS Settings
247
+ ## REQUESTS Settings
230
248
 
231
249
  ```json
232
250
  {
@@ -238,7 +256,9 @@ To enable qBittorrent integration, follow the setup guide [here](https://github.
238
256
  - `timeout`: Maximum timeout (in seconds) for each request
239
257
  - `max_retry`: Number of retry attempts per segment during M3U8 index download
240
258
 
241
- ### BROWSER Settings
259
+ <br>
260
+
261
+ ## BROWSER Settings
242
262
 
243
263
  ```json
244
264
  {
@@ -248,7 +268,9 @@ To enable qBittorrent integration, follow the setup guide [here](https://github.
248
268
 
249
269
  - `headless`: Controls whether to run browser in headless mode
250
270
 
251
- ### M3U8_DOWNLOAD Settings
271
+ <br>
272
+
273
+ ## M3U8_DOWNLOAD Settings
252
274
 
253
275
  ```json
254
276
  {
@@ -266,7 +288,10 @@ To enable qBittorrent integration, follow the setup guide [here](https://github.
266
288
  - `default_audio_workser`: Number of threads for audio download
267
289
  - `cleanup_tmp_folder`: Remove temporary .ts files after download
268
290
 
269
- #### Language Settings
291
+
292
+ <br>
293
+
294
+ ### Language Settings
270
295
 
271
296
  The following codes can be used for `specific_list_audio` and `specific_list_subtitles`:
272
297
 
@@ -301,7 +326,7 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
301
326
  > "specific_list_subtitles": ["ita", "eng", "spa"]
302
327
  > ```
303
328
 
304
- ### M3U8_PARSER Settings
329
+ ## M3U8_PARSER Settings
305
330
 
306
331
  ```json
307
332
  {
@@ -313,8 +338,42 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
313
338
  - `force_resolution`: Force specific resolution (-1 for best available, or specify 1080, 720, 360)
314
339
  - `get_only_link`: Return M3U8 playlist/index URL instead of downloading
315
340
 
341
+ <br>
342
+
343
+ # Docker
316
344
 
317
- ## 🌐 Website Status
345
+ You can run the script in a docker container, to build the image just run
346
+
347
+ ```
348
+ docker build -t streaming-community-api .
349
+ ```
350
+
351
+ and to run it use
352
+
353
+ ```
354
+ docker run -it -p 8000:8000 streaming-community-api
355
+ ```
356
+
357
+ By default the videos will be saved in `/app/Video` inside the container, if you want to to save them in your machine instead of the container just run
358
+
359
+ ```
360
+ docker run -it -p 8000:8000 -v /path/to/download:/app/Video streaming-community-api
361
+ ```
362
+
363
+ ### Docker quick setup with Make
364
+
365
+ Inside the Makefile (install `make`) are already configured two commands to build and run the container:
366
+
367
+ ```
368
+ make build-container
369
+
370
+ # set your download directory as ENV variable
371
+ make LOCAL_DIR=/path/to/download run-container
372
+ ```
373
+
374
+ The `run-container` command mounts also the `config.json` file, so any change to the configuration file is reflected immediately without having to rebuild the image.
375
+
376
+ # Website Status
318
377
 
319
378
  | Website | Status |
320
379
  |:-------------------|:------:|
@@ -329,16 +388,18 @@ forced-ita hin - Hindi pol - Polish tur - Turkish
329
388
  | PirateBays | ✅ |
330
389
  | StreamingCommunity | ✅ |
331
390
 
332
- ## 📖 Tutorials
391
+ # Tutorials
333
392
 
334
393
  - [Windows Tutorial](https://www.youtube.com/watch?v=mZGqK4wdN-k)
335
394
  - [Linux Tutorial](https://www.youtube.com/watch?v=0qUNXPE_mTg)
395
+ - [Pypy Tutorial](https://www.youtube.com/watch?v=C6m9ZKOK0p4)
396
+ - [Compiled .exe Tutorial](https://www.youtube.com/watch?v=pm4lqsxkTVo)
336
397
 
337
- ## 📝 To Do
398
+ # To Do
338
399
 
339
400
  - Create website API
340
401
 
341
- ## 🤝 Contributing
402
+ # Contributing
342
403
 
343
404
  Contributions are welcome! Steps:
344
405
  1. Fork the repository
@@ -346,3 +407,8 @@ Contributions are welcome! Steps:
346
407
  3. Commit changes (`git commit -m 'Add some AmazingFeature'`)
347
408
  4. Push to branch (`git push origin feature/AmazingFeature`)
348
409
  5. Open Pull Request
410
+
411
+
412
+ # Disclaimer
413
+
414
+ 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.