Added photo album support to Blowpass scraper.

This commit is contained in:
2019-12-13 05:04:04 +01:00
parent c9e0c29d51
commit c998fcf933
8 changed files with 606 additions and 6 deletions

View File

@@ -27,9 +27,21 @@
v-if="actor.age || actor.origin"
class="details"
>
<span class="age">{{ actor.age }}</span>
<span v-if="actor.age">
<span
v-tooltip="`Born on ${formatDate(actor.birthdate, 'MMMM D, YYYY')}`"
class="age"
>{{ actor.age }}</span>
<span
v-if="actor.ageThen && actor.ageThen < actor.age"
v-tooltip="'Age at scene date'"
class="age-then"
>@ {{ actor.ageThen }}</span>
</span>
<span
v-if="actor.origin"
v-tooltip="`Born in ${actor.origin.country.alias || actor.origin.country.name}`"
class="country"
>
{{ actor.origin.country.alpha2 }}
@@ -110,4 +122,8 @@ export default {
font-size: .8rem;
font-weight: bold;
}
.age-then {
color: $highlight;
}
</style>

View File

@@ -50,7 +50,7 @@
>
<img
v-else-if="release.covers"
v-else-if="release.covers && release.covers.length > 0"
:src="`/media/${release.covers[0].thumbnail}`"
:alt="release.title"
class="thumbnail"