anipy-cli 3.5.0__py3-none-any.whl → 3.5.2__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 anipy-cli might be problematic. Click here for more details.
- anipy_cli/__init__.py +1 -1
- anipy_cli/menus/menu.py +10 -2
- {anipy_cli-3.5.0.dist-info → anipy_cli-3.5.2.dist-info}/METADATA +2 -2
- {anipy_cli-3.5.0.dist-info → anipy_cli-3.5.2.dist-info}/RECORD +6 -6
- {anipy_cli-3.5.0.dist-info → anipy_cli-3.5.2.dist-info}/WHEEL +0 -0
- {anipy_cli-3.5.0.dist-info → anipy_cli-3.5.2.dist-info}/entry_points.txt +0 -0
anipy_cli/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__appname__ = "anipy-cli"
|
|
2
|
-
__version__ = "3.5.
|
|
2
|
+
__version__ = "3.5.2"
|
anipy_cli/menus/menu.py
CHANGED
|
@@ -6,6 +6,7 @@ from InquirerPy.base.control import Choice
|
|
|
6
6
|
from anipy_api.download import Downloader
|
|
7
7
|
from anipy_api.provider import LanguageTypeEnum, ProviderStream
|
|
8
8
|
from anipy_api.locallist import LocalList
|
|
9
|
+
from anipy_api.provider.base import ExternalSub
|
|
9
10
|
|
|
10
11
|
from anipy_cli.colors import colors, cprint
|
|
11
12
|
from anipy_cli.config import Config
|
|
@@ -164,6 +165,13 @@ class Menu(MenuBase):
|
|
|
164
165
|
print(f"Provider: {self.anime.provider.NAME}")
|
|
165
166
|
print(f"Stream Url: {self.stream.url}")
|
|
166
167
|
print(f"Quality: {self.stream.resolution}p")
|
|
168
|
+
if self.stream.referrer:
|
|
169
|
+
print(f"Referer: {self.stream.referrer}")
|
|
170
|
+
|
|
171
|
+
if self.stream.subtitle:
|
|
172
|
+
print(f"Subtitles:")
|
|
173
|
+
for name, sub in self.stream.subtitle.items():
|
|
174
|
+
print(f" {name} - {sub.url}")
|
|
167
175
|
|
|
168
176
|
def add_seasonal(self):
|
|
169
177
|
self.seasonal_list.update(
|
|
@@ -194,8 +202,8 @@ class Menu(MenuBase):
|
|
|
194
202
|
|
|
195
203
|
if stream is None:
|
|
196
204
|
return
|
|
197
|
-
|
|
198
|
-
stream =
|
|
205
|
+
|
|
206
|
+
stream = next(filter(lambda x: x.url == stream["url"], streams))
|
|
199
207
|
self.options.quality = stream.resolution
|
|
200
208
|
self.stream = stream
|
|
201
209
|
self.player.play_title(self.anime, self.stream)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anipy-cli
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.2
|
|
4
4
|
Summary: Watch and Download anime from the comfort of your Terminal
|
|
5
5
|
License: GPL-3.0
|
|
6
6
|
Keywords: anime,cli
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Requires-Dist: anipy-api (>=3.5.
|
|
17
|
+
Requires-Dist: anipy-api (>=3.5.2,<4.0.0)
|
|
18
18
|
Requires-Dist: appdirs (>=1.4.4,<2.0.0)
|
|
19
19
|
Requires-Dist: inquirerpy (>=0.3.4,<0.4.0)
|
|
20
20
|
Requires-Dist: pypresence (>=4.3.0,<5.0.0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
anipy_cli/__init__.py,sha256=
|
|
1
|
+
anipy_cli/__init__.py,sha256=Fu6gG0MGiaKI-w4XdoeJDgX9SPHfY2ox1qKHlXCtQw8,48
|
|
2
2
|
anipy_cli/arg_parser.py,sha256=efUOHrMcKkEELbkxsudSzHC0FF2Z_tSFDTmDBqirVGY,6459
|
|
3
3
|
anipy_cli/cli.py,sha256=Bk2H15VRF34yKLbGgKVq0A2vdByMJj-JTyx7Ep-JbH0,2238
|
|
4
4
|
anipy_cli/clis/__init__.py,sha256=Y00uiPWiMvvRImxJMvfLA55BOkMUOrrx5vJUNvquNsY,411
|
|
@@ -17,11 +17,11 @@ anipy_cli/mal_proxy.py,sha256=me2ESB442pYeNEpHY8mqrOEb477UA0uAg2LprKcp8sM,7098
|
|
|
17
17
|
anipy_cli/menus/__init__.py,sha256=aIzbphxAW-QGfZwR1DIegFZuTJp1O3tSUnai0f0f4lY,185
|
|
18
18
|
anipy_cli/menus/base_menu.py,sha256=g5b9Z7SpvCxcq_vqObcPzxLwcXeGPltLgSwa0sEzyfk,1140
|
|
19
19
|
anipy_cli/menus/mal_menu.py,sha256=jAVJh7K5d0BCnoT4qUIZ7CavrnrctXj-eg9k8E90ulE,23697
|
|
20
|
-
anipy_cli/menus/menu.py,sha256=
|
|
20
|
+
anipy_cli/menus/menu.py,sha256=3dO6sdEoXNGXBPWm6bMnBHW_PTtzLhFvUOIYTUE_MpE,8447
|
|
21
21
|
anipy_cli/menus/seasonal_menu.py,sha256=NT9dfQUdN1DFu6wAf9hdWOfVBB7EfFiUECAcW6fqHgs,8995
|
|
22
22
|
anipy_cli/prompts.py,sha256=RW1jqNq6RQY7BqV77vrCtEuyfyc8ArtdwCH73S3-c-k,11909
|
|
23
23
|
anipy_cli/util.py,sha256=8AzEeoSPXMGTdTrArhE0COhSuYP_MCvYIeGHv5X7haU,6841
|
|
24
|
-
anipy_cli-3.5.
|
|
25
|
-
anipy_cli-3.5.
|
|
26
|
-
anipy_cli-3.5.
|
|
27
|
-
anipy_cli-3.5.
|
|
24
|
+
anipy_cli-3.5.2.dist-info/METADATA,sha256=wUpfh9knioz0MIS4zVBu62m3LG1MXrouYcmmE3F0SSo,3481
|
|
25
|
+
anipy_cli-3.5.2.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
26
|
+
anipy_cli-3.5.2.dist-info/entry_points.txt,sha256=86iXpcm_ECFndrt0JAI2mqYfXC2Ar7mGi0iOaxCrNP0,51
|
|
27
|
+
anipy_cli-3.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|