jmcomic 2.3.7__py3-none-any.whl → 2.3.8__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.
- jmcomic/__init__.py +1 -1
- jmcomic/jm_client_interface.py +8 -1
- {jmcomic-2.3.7.dist-info → jmcomic-2.3.8.dist-info}/METADATA +1 -1
- {jmcomic-2.3.7.dist-info → jmcomic-2.3.8.dist-info}/RECORD +8 -8
- {jmcomic-2.3.7.dist-info → jmcomic-2.3.8.dist-info}/LICENSE +0 -0
- {jmcomic-2.3.7.dist-info → jmcomic-2.3.8.dist-info}/WHEEL +0 -0
- {jmcomic-2.3.7.dist-info → jmcomic-2.3.8.dist-info}/entry_points.txt +0 -0
- {jmcomic-2.3.7.dist-info → jmcomic-2.3.8.dist-info}/top_level.txt +0 -0
jmcomic/__init__.py
CHANGED
jmcomic/jm_client_interface.py
CHANGED
|
@@ -271,7 +271,14 @@ class JmImageClient:
|
|
|
271
271
|
raise NotImplementedError
|
|
272
272
|
|
|
273
273
|
@classmethod
|
|
274
|
-
def img_is_not_need_to_decode(cls, data_original: str, _resp):
|
|
274
|
+
def img_is_not_need_to_decode(cls, data_original: str, _resp) -> bool:
|
|
275
|
+
# https://cdn-msp2.18comic.vip/media/photos/498976/00027.gif?v=1697541064
|
|
276
|
+
query_params_index = data_original.find('?')
|
|
277
|
+
|
|
278
|
+
if query_params_index != -1:
|
|
279
|
+
data_original = data_original[:query_params_index]
|
|
280
|
+
|
|
281
|
+
# https://cdn-msp2.18comic.vip/media/photos/498976/00027.gif
|
|
275
282
|
return data_original.endswith('.gif')
|
|
276
283
|
|
|
277
284
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
jmcomic/__init__.py,sha256=
|
|
1
|
+
jmcomic/__init__.py,sha256=YgAlwq0VGqg_usY_Haf_m0JRMrOmpNE0p0r5KCy3Has,878
|
|
2
2
|
jmcomic/api.py,sha256=EIIOvL_n2MWNeUZObIG9dm6Vi03JysOhE-HlKyZlrYw,2460
|
|
3
3
|
jmcomic/cl.py,sha256=ArDxQvt4G2YungPUqYHG5zWkUxQh71nY-T_IS2jzIV8,3489
|
|
4
4
|
jmcomic/jm_client_impl.py,sha256=lzvkR7_IGGUlcL8A4fpa8LmPCbfDfNLXokUaw7qyJ1c,22480
|
|
5
|
-
jmcomic/jm_client_interface.py,sha256
|
|
5
|
+
jmcomic/jm_client_interface.py,sha256=-h6cfRH_1rfVm2Q35GvE3txRJpD4KTLVJbrRlkZGexs,11549
|
|
6
6
|
jmcomic/jm_config.py,sha256=rPxtr9UjqTr2QHYbL6cfkenVCqB2XI5nLFb2zKrur0M,11284
|
|
7
7
|
jmcomic/jm_downloader.py,sha256=iDeSp4NbmSP_7QoB6pguIlRMRt5cYvJOnONvicVvyQU,7125
|
|
8
8
|
jmcomic/jm_entity.py,sha256=kwbSZTuQFzs_IuOexOefEeeOX8F-Ucl0cRCz6R_IPkM,14629
|
|
9
9
|
jmcomic/jm_option.py,sha256=4LFfPgLbBzas5Zyw187Ro87F__k5d5VilvHP0-OTfTQ,15615
|
|
10
10
|
jmcomic/jm_plugin.py,sha256=6vfi6dioDcO-dg0NAY6FA5R8l7WAACBK1TbtV4WCLq8,11443
|
|
11
11
|
jmcomic/jm_toolkit.py,sha256=SFERf87Kmxik24VGPj90ehAYTINKW0qdJajhehhxeYY,20844
|
|
12
|
-
jmcomic-2.3.
|
|
13
|
-
jmcomic-2.3.
|
|
14
|
-
jmcomic-2.3.
|
|
15
|
-
jmcomic-2.3.
|
|
16
|
-
jmcomic-2.3.
|
|
17
|
-
jmcomic-2.3.
|
|
12
|
+
jmcomic-2.3.8.dist-info/LICENSE,sha256=kz4coTxZxuGxisK3W00tjK57Zh3RcMGq-EnbXrK7-xA,1064
|
|
13
|
+
jmcomic-2.3.8.dist-info/METADATA,sha256=TMLtTFhvlHVuOBVCn7vrkYZQ_UCEiF_bJSwayoJzsaI,5583
|
|
14
|
+
jmcomic-2.3.8.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
15
|
+
jmcomic-2.3.8.dist-info/entry_points.txt,sha256=tRbQltaGSBjejI0c9jYt-4SXQMd5nSDHcMvHmuTy4ow,44
|
|
16
|
+
jmcomic-2.3.8.dist-info/top_level.txt,sha256=puvVMFYJqIbd6NOTMEvOyugMTT8woBfSQyxEBan3zY4,8
|
|
17
|
+
jmcomic-2.3.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|