forked from rDrama/rDrama
fix
parent
582e2bf2a4
commit
03c5dcc1ec
|
@ -158,7 +158,7 @@ class Submission(Base):
|
||||||
return self.thumburl
|
return self.thumburl
|
||||||
elif self.is_youtube or self.is_video: return f"{SITE_FULL}/i/default_thumb_video.webp?v=2"
|
elif self.is_youtube or self.is_video: return f"{SITE_FULL}/i/default_thumb_video.webp?v=2"
|
||||||
elif self.is_audio: return f"{SITE_FULL}/i/default_thumb_audio.webp?v=1"
|
elif self.is_audio: return f"{SITE_FULL}/i/default_thumb_audio.webp?v=1"
|
||||||
elif self.domain in {SITE, BAN_EVASION_DOMAIN} or p.url.startswith('/'):
|
elif self.domain in {SITE, BAN_EVASION_DOMAIN} or self.url.startswith('/'):
|
||||||
return f"{SITE_FULL}/i/{SITE_NAME}/site_preview.webp?v=3009"
|
return f"{SITE_FULL}/i/{SITE_NAME}/site_preview.webp?v=3009"
|
||||||
else: return f"{SITE_FULL}/i/default_thumb_link.webp?v=1"
|
else: return f"{SITE_FULL}/i/default_thumb_link.webp?v=1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue