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