Fixed Gamma scraper breaking when scene has no movie. Improved missing thumbnail presentation on mobile scene tiles.
This commit is contained in:
parent
dba99a4170
commit
b80eca35d8
|
@ -44,8 +44,8 @@
|
|||
<div
|
||||
v-else
|
||||
:title="release.title"
|
||||
class="thumbnail"
|
||||
>No thumbnail available</div>
|
||||
class="thumbnail unavailable"
|
||||
><Icon icon="blocked" />No thumbnail available</div>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
@ -213,6 +213,13 @@ export default {
|
|||
background-color: var(--shadow-hint);
|
||||
color: var(--shadow);
|
||||
text-shadow: 1px 1px 0 var(--highlight);
|
||||
|
||||
.icon {
|
||||
display: none;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
fill: var(--shadow-hint);
|
||||
}
|
||||
}
|
||||
|
||||
.row {
|
||||
|
@ -339,7 +346,12 @@ export default {
|
|||
.thumbnail {
|
||||
width: 9rem;
|
||||
height: 100%;
|
||||
font-size: 0;
|
||||
box-shadow: 0 0 3px var(--shadow-weak);
|
||||
|
||||
.icon {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.info {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<!-- Generated by IcoMoon.io -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||
<title>blocked</title>
|
||||
<path d="M27.314 4.686c-3.022-3.022-7.040-4.686-11.314-4.686s-8.292 1.664-11.314 4.686c-3.022 3.022-4.686 7.040-4.686 11.314s1.664 8.292 4.686 11.314c3.022 3.022 7.040 4.686 11.314 4.686s8.292-1.664 11.314-4.686c3.022-3.022 4.686-7.040 4.686-11.314s-1.664-8.292-4.686-11.314zM28 16c0 2.588-0.824 4.987-2.222 6.949l-16.727-16.727c1.962-1.399 4.361-2.222 6.949-2.222 6.617 0 12 5.383 12 12zM4 16c0-2.588 0.824-4.987 2.222-6.949l16.727 16.727c-1.962 1.399-4.361 2.222-6.949 2.222-6.617 0-12-5.383-12-12z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 671 B |
|
@ -304,10 +304,9 @@ async function scrapeScene(html, url, site, baseRelease, mobileHtml) {
|
|||
];
|
||||
|
||||
const movie = $('.dvdLink');
|
||||
|
||||
if (movie) {
|
||||
const movieUrl = qu.prefixUrl(movie.attr('href'), site.url);
|
||||
|
||||
if (movieUrl) {
|
||||
release.movie = {
|
||||
url: movieUrl,
|
||||
title: movie.attr('title'),
|
||||
|
|
Loading…
Reference in New Issue