StreamingCommunity 2.5.5__py3-none-any.whl → 2.5.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of StreamingCommunity might be problematic. Click here for more details.

@@ -2,6 +2,7 @@
2
2
 
3
3
  import os
4
4
  import logging
5
+ from typing import Tuple
5
6
 
6
7
 
7
8
  # Internal utilities
@@ -29,7 +30,7 @@ KILL_HANDLER = bool(False)
29
30
 
30
31
 
31
32
 
32
- def download_episode(index_select: int, scrape_serie: ScrapeSerieAnime, video_source: VideoSourceAnime) -> tuple[str,bool]:
33
+ def download_episode(index_select: int, scrape_serie: ScrapeSerieAnime, video_source: VideoSourceAnime) -> Tuple[str,bool]:
33
34
  """
34
35
  Downloads the selected episode.
35
36
 
@@ -3,6 +3,7 @@
3
3
  import os
4
4
  import sys
5
5
  from urllib.parse import urlparse
6
+ from typing import Tuple
6
7
 
7
8
 
8
9
  # Internal utilities
@@ -28,7 +29,7 @@ from .costant import SERIES_FOLDER
28
29
 
29
30
 
30
31
 
31
- def download_video(index_episode_selected: int, scape_info_serie: GetSerieInfo, video_source: VideoSource) -> tuple[str,bool]:
32
+ def download_video(index_episode_selected: int, scape_info_serie: GetSerieInfo, video_source: VideoSource) -> Tuple[str,bool]:
32
33
  """
33
34
  Download a single episode video.
34
35
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  import os
4
4
  import sys
5
+ from typing import Tuple
5
6
 
6
7
 
7
8
  # Internal utilities
@@ -26,7 +27,7 @@ from .costant import SERIES_FOLDER
26
27
 
27
28
 
28
29
 
29
- def download_video(index_season_selected: int, index_episode_selected: int, scape_info_serie: GetSerieInfo) -> str:
30
+ def download_video(index_season_selected: int, index_episode_selected: int, scape_info_serie: GetSerieInfo) -> Tuple[str,bool]:
30
31
  """
31
32
  Download a single episode video.
32
33
 
@@ -37,6 +38,7 @@ def download_video(index_season_selected: int, index_episode_selected: int, scap
37
38
 
38
39
  Return:
39
40
  - str: output path
41
+ - bool: kill handler status
40
42
  """
41
43
  start_message()
42
44
  index_season_selected = dynamic_format_number(index_season_selected)
@@ -62,7 +64,6 @@ def download_video(index_season_selected: int, index_episode_selected: int, scap
62
64
  output_path=os.path.join(mp4_path, mp4_name)
63
65
  ).start()
64
66
 
65
-
66
67
  if "error" in r_proc.keys():
67
68
  try:
68
69
  os.remove(r_proc['path'])
@@ -2,6 +2,7 @@
2
2
 
3
3
  import os
4
4
  import sys
5
+ from typing import Tuple
5
6
 
6
7
 
7
8
  # Internal utilities
@@ -27,7 +28,7 @@ from StreamingCommunity.Api.Player.vixcloud import VideoSource
27
28
  from .costant import SITE_NAME, SERIES_FOLDER, TELEGRAM_BOT
28
29
 
29
30
 
30
- def download_video(index_season_selected: int, index_episode_selected: int, scrape_serie: ScrapeSerie, video_source: VideoSource) -> tuple[str,bool]:
31
+ def download_video(index_season_selected: int, index_episode_selected: int, scrape_serie: ScrapeSerie, video_source: VideoSource) -> Tuple[str,bool]:
31
32
  """
32
33
  Download a single episode video.
33
34
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: StreamingCommunity
3
- Version: 2.5.5
3
+ Version: 2.5.6
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
@@ -20,7 +20,7 @@ Requires-Dist: jsbeautifier
20
20
  Requires-Dist: pathvalidate
21
21
  Requires-Dist: pycryptodomex
22
22
  Requires-Dist: googlesearch-python
23
- Requires-Dist: fake-useragent
23
+ Requires-Dist: fake-useragent<2.0.0
24
24
  Requires-Dist: qbittorrent-api
25
25
  Requires-Dist: python-qbittorrent
26
26
  Requires-Dist: Pillow
@@ -53,7 +53,7 @@ Requires-Dist: pyTelegramBotAPI
53
53
  <img src="https://img.shields.io/pypi/dm/streamingcommunity?style=for-the-badge" alt="PyPI Downloads"/>
54
54
  </a>
55
55
  <a href="https://github.com/Arrowar/StreamingCommunity">
56
- <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Arrowar/StreamingCommunity/main/.github/media/loc-badge.json&style=for-the-badge" alt="Lines of Code"/>
56
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Arrowar/StreamingCommunity/main/Test/Media/loc-badge.json&style=for-the-badge" alt="Lines of Code"/>
57
57
  </a>
58
58
  </p>
59
59
 
@@ -16,7 +16,7 @@ StreamingCommunity/Api/Site/altadefinizionegratis/film.py,sha256=hwsOHPaIEXMlJlJ
16
16
  StreamingCommunity/Api/Site/altadefinizionegratis/site.py,sha256=28zB42pa-SvZ8BbNNMVHuRdK8mQ7L_4NvFeGfcFb3O0,3631
17
17
  StreamingCommunity/Api/Site/animeunity/__init__.py,sha256=T1IBUZArYBQNjILCDJGLrQB3Q70XhmTwtQ0YqYGEGOE,2091
18
18
  StreamingCommunity/Api/Site/animeunity/costant.py,sha256=aXeyPtDUodnJCGWgpjlT-ymHFMGjAmkYrv0uKisCkUU,813
19
- StreamingCommunity/Api/Site/animeunity/film_serie.py,sha256=8Yhf7dqT7SFz-TRxkm_SZl3KNsE9C0Lgz869kGRynYU,5648
19
+ StreamingCommunity/Api/Site/animeunity/film_serie.py,sha256=YAPncO6Kjm3qCJoK-2_tc61gKRO1DfFjMh8xsL0ZvPk,5673
20
20
  StreamingCommunity/Api/Site/animeunity/site.py,sha256=croEynBrXlZbs9vdGFi95Tq9JA2T3EBotTNr8Frm2WE,5971
21
21
  StreamingCommunity/Api/Site/animeunity/util/ScrapeSerie.py,sha256=92PDY4CJSSmeHsVowqBuCzYmLa1pcXR8hCBXcuvlmvk,2886
22
22
  StreamingCommunity/Api/Site/cb01new/__init__.py,sha256=4pXBx8sPk-LyIZ4pEjfvudEeWKch_tfSHHtmS9_dQaA,1179
@@ -25,12 +25,12 @@ StreamingCommunity/Api/Site/cb01new/film.py,sha256=E5fLsJtwVNRFRLMBbM7ubS9NiYdMc
25
25
  StreamingCommunity/Api/Site/cb01new/site.py,sha256=ErBsmw30lxFGQP-TCNCtSd7MJth6VE7gOJfnq4FboN0,2365
26
26
  StreamingCommunity/Api/Site/ddlstreamitaly/__init__.py,sha256=7G3Ss3WWy3ZxJBU9BUKhyPe3qEQsu8V-y3pGLNho76k,1319
27
27
  StreamingCommunity/Api/Site/ddlstreamitaly/costant.py,sha256=FVZM6Ze3ed0nSE0lnP5WRcmH0OEowgfyGaQ_KQTYBeo,821
28
- StreamingCommunity/Api/Site/ddlstreamitaly/series.py,sha256=FaAOXHXpAMctIBxUgecn1jbmOhU1GLE_-NVdqCpROKY,4327
28
+ StreamingCommunity/Api/Site/ddlstreamitaly/series.py,sha256=BK7pSM5QVHVg5h5MLQVI8z7aVHT1TbPU9j8AazcjLkM,4352
29
29
  StreamingCommunity/Api/Site/ddlstreamitaly/site.py,sha256=a6Qy_EDaNWaooik0kgoewfLkCYjV2wOezRhZynILTJY,3004
30
30
  StreamingCommunity/Api/Site/ddlstreamitaly/util/ScrapeSerie.py,sha256=rWAu-CLo2_fiUbdoExRTojxUOcnrNOzMqwR1_ug79lo,2568
31
31
  StreamingCommunity/Api/Site/guardaserie/__init__.py,sha256=TvNYdFFUsb0M5OE6i5Vn73xORu4-ZlBJaBCAn7mGPGU,1171
32
32
  StreamingCommunity/Api/Site/guardaserie/costant.py,sha256=n-kS_CWTzp0KcwD9eQJB_2nzVc3mk2aV4ai3tYBWwMg,760
33
- StreamingCommunity/Api/Site/guardaserie/series.py,sha256=gAS1nc647q6oHqrFWu80z6PYJJx0BUt6-u00BN8_YX4,6557
33
+ StreamingCommunity/Api/Site/guardaserie/series.py,sha256=SqW67Y_ddxtiNzb9uNCLzE_vfdYSHmNW9EPIN_GUYy8,6617
34
34
  StreamingCommunity/Api/Site/guardaserie/site.py,sha256=RW3y1UBzxgu8PyM2uBVTF5iL1zE-Hhd5IwOk1xym60s,2790
35
35
  StreamingCommunity/Api/Site/guardaserie/util/ScrapeSerie.py,sha256=QCSc61Eab93Mc2H6FYZ5y1EOjn7VFBJ9mHstaMdtBO0,3289
36
36
  StreamingCommunity/Api/Site/ilcorsaronero/__init__.py,sha256=k93QZfFROMeD6hELFItyKBxWNC9ivWWQA17fjxu04MY,1197
@@ -44,7 +44,7 @@ StreamingCommunity/Api/Site/mostraguarda/film.py,sha256=8n6iwMaYaMPKmV9XCIF91Kjx
44
44
  StreamingCommunity/Api/Site/streamingcommunity/__init__.py,sha256=4i1pu7XbCBaor7Nv2ZPpYa_7HQGjCW5mgpK9MCpiKao,2287
45
45
  StreamingCommunity/Api/Site/streamingcommunity/costant.py,sha256=II6jfMUUiqlbJ_bG12h8h9ODI6gvaUGsdEzjnjRZ52g,823
46
46
  StreamingCommunity/Api/Site/streamingcommunity/film.py,sha256=N3v01tcsHbSyJzIjMG13UJvKZANSlwKXinpxvTACns8,2490
47
- StreamingCommunity/Api/Site/streamingcommunity/series.py,sha256=C6iHoyDagGzX0ymUoIpvjJUTunhssdquPb-aU1G70BA,9085
47
+ StreamingCommunity/Api/Site/streamingcommunity/series.py,sha256=kbIzxmC9xIqNHazyo4wcEggjwPN5rnijLBZiXMfJQWU,9110
48
48
  StreamingCommunity/Api/Site/streamingcommunity/site.py,sha256=5e2w4dBOT_l7TX2LTEGE0uktrOc8pcaI6ZstOXdgY2Q,4592
49
49
  StreamingCommunity/Api/Site/streamingcommunity/util/ScrapeSerie.py,sha256=t-Of4McSpJv8uZGP8hqBj1cuh57U8A5hhvMM18rHSaQ,4260
50
50
  StreamingCommunity/Api/Template/__init__.py,sha256=oyfd_4_g5p5q6mxb_rKwSsudZnTM3W3kg1tLwxg-v-Q,46
@@ -88,9 +88,9 @@ StreamingCommunity/Util/logger.py,sha256=ekHO3tryCwo5zqSe2RoI6s3qZsZx9ghinTchipM
88
88
  StreamingCommunity/Util/message.py,sha256=F2QKjkcCBl6TjsaM5G6iDck0IhxBnDkKV3itwUebr5c,1403
89
89
  StreamingCommunity/Util/os.py,sha256=negGgnuRMvApCSuOJZvnP1K-JB2QDfCYPHbfSh8CBKM,17362
90
90
  StreamingCommunity/Util/table.py,sha256=QFzbthbmQT_hwaPJ7Bg9lJALIHJGYcGiQSsQNhCLYAE,10997
91
- StreamingCommunity-2.5.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
92
- StreamingCommunity-2.5.5.dist-info/METADATA,sha256=UOrs2XD5VophwEy7pKVtv8DGFxKlJstautQi8axZto8,17990
93
- StreamingCommunity-2.5.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
94
- StreamingCommunity-2.5.5.dist-info/entry_points.txt,sha256=Qph9XYfDC8n4LfDLOSl6gJGlkb9eFb5f-JOr_Wb_5rk,67
95
- StreamingCommunity-2.5.5.dist-info/top_level.txt,sha256=YsOcxKP-WOhWpIWgBlh0coll9XUx7aqmRPT7kmt3fH0,19
96
- StreamingCommunity-2.5.5.dist-info/RECORD,,
91
+ StreamingCommunity-2.5.6.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
92
+ StreamingCommunity-2.5.6.dist-info/METADATA,sha256=Enr8LaQJ-YHTwoE7A2f-1D0hZjqf7nvbqAeXHY9EMZY,17993
93
+ StreamingCommunity-2.5.6.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
94
+ StreamingCommunity-2.5.6.dist-info/entry_points.txt,sha256=Qph9XYfDC8n4LfDLOSl6gJGlkb9eFb5f-JOr_Wb_5rk,67
95
+ StreamingCommunity-2.5.6.dist-info/top_level.txt,sha256=YsOcxKP-WOhWpIWgBlh0coll9XUx7aqmRPT7kmt3fH0,19
96
+ StreamingCommunity-2.5.6.dist-info/RECORD,,