mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
Update
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent
0e13d22c97
commit
ee750115ec
@@ -648,6 +648,8 @@ class TrimeMedia:
|
|||||||
"""
|
"""
|
||||||
获得指定图片的Cookies
|
获得指定图片的Cookies
|
||||||
"""
|
"""
|
||||||
|
if not self.is_authenticated():
|
||||||
|
return None
|
||||||
if not image_url or not SecurityUtils.is_safe_url(
|
if not image_url or not SecurityUtils.is_safe_url(
|
||||||
image_url, [self._api.host], strict=True
|
image_url, [self._api.host], strict=True
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user