Compare commits
2 Commits
1c24cae3b1
...
43a0bc8a2c
Author | SHA1 | Date |
---|---|---|
|
43a0bc8a2c | |
|
baebdbc0bb |
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.204.6",
|
"version": "1.204.7",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.204.6",
|
"version": "1.204.7",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.204.6",
|
"version": "1.204.7",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -237,6 +237,10 @@ async function scrapeApiReleases(json, site) {
|
||||||
.concat(scene.categories?.map((category) => category.name))
|
.concat(scene.categories?.map((category) => category.name))
|
||||||
.filter(Boolean); // some categories don't have a name
|
.filter(Boolean); // some categories don't have a name
|
||||||
|
|
||||||
|
if (scene.availableOnSite.length > 1) {
|
||||||
|
release.comment = `Also available on ${scene.availableOnSite.filter((sisterSite) => sisterSite !== site.slug).join(', ')}`;
|
||||||
|
}
|
||||||
|
|
||||||
const posterPath = scene.pictures.resized || (scene.pictures.nsfw?.top && Object.values(scene.pictures.nsfw.top)[0]);
|
const posterPath = scene.pictures.resized || (scene.pictures.nsfw?.top && Object.values(scene.pictures.nsfw.top)[0]);
|
||||||
|
|
||||||
if (posterPath) {
|
if (posterPath) {
|
||||||
|
|
Loading…
Reference in New Issue