Merge pull request #1314 from thsrite/main
This commit is contained in:
commit
6fa50101a6
@ -135,7 +135,8 @@ class TmdbScraper:
|
|||||||
file_path=file_path)
|
file_path=file_path)
|
||||||
# 集的图片
|
# 集的图片
|
||||||
episode_image = episodeinfo.get("still_path")
|
episode_image = episodeinfo.get("still_path")
|
||||||
image_path = file_path.with_name(file_path.stem + "-thumb").with_suffix(Path(episode_image).suffix)
|
image_path = file_path.with_name(file_path.stem + "-thumb.jpg").with_suffix(
|
||||||
|
Path(episode_image).suffix)
|
||||||
if episode_image and (self._force_img or not image_path.exists()):
|
if episode_image and (self._force_img or not image_path.exists()):
|
||||||
self.__save_image(
|
self.__save_image(
|
||||||
f"https://{settings.TMDB_IMAGE_DOMAIN}/t/p/original{episode_image}",
|
f"https://{settings.TMDB_IMAGE_DOMAIN}/t/p/original{episode_image}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user