Apply automatic changes

This commit is contained in:
cdransf 2023-09-10 20:03:01 +00:00 committed by Cory Dransfeldt
parent cb7195ab10
commit 700a90b501
No known key found for this signature in database
3 changed files with 23 additions and 3 deletions

View file

@ -1,3 +1,3 @@
{ {
"timestamp": 1694318586339 "timestamp": 1694376179795
} }

View file

@ -6256,5 +6256,24 @@
"https://social.lol/users/cory/statuses/111038862870621908" "https://social.lol/users/cory/statuses/111038862870621908"
], ],
"lastTootTimestamp": 1694318586335 "lastTootTimestamp": 1694318586335
},
"https://letterboxd.com/cdme/film/the-wolf-of-wall-street/": {
"id": "aHR0cHM6Ly9sZXR0ZXJib3hkLmNvbS9jZG1lL2ZpbG0vdGhlLXdvbGYtb2Ytd2FsbC1zdHJlZXQv",
"title": "🎥: The Wolf of Wall Street, 2013 - ★★★½",
"url": "https://letterboxd.com/cdme/film/the-wolf-of-wall-street/",
"content_text": "🎥: The Wolf of Wall Street, 2013 - ★★★½ https://letterboxd.com/cdme/film/the-wolf-of-wall-street/",
"date_published": "Sun, 10 Sep 2023 18:48:02 +0000",
"toots": [
"https://social.lol/users/cory/statuses/111042637315260729"
],
"lastTootTimestamp": 1694376179790
},
"https://coryd.dev/posts/2023/semi-automated-hashtags-syndicated-posts/": {
"id": "aHR0cHM6Ly9jb3J5ZC5kZXYvcG9zdHMvMjAyMy9zZW1pLWF1dG9tYXRlZC1oYXNodGFncy1zeW5kaWNhdGVkLXBvc3RzLw==",
"title": "📝: Semi-automated hashtags for syndicated posts",
"url": "https://coryd.dev/posts/2023/semi-automated-hashtags-syndicated-posts/",
"content_text": "📝: Semi-automated hashtags for syndicated posts #Eleventy #WebDev https://coryd.dev/posts/2023/semi-automated-hashtags-syndicated-posts/",
"date_published": "Sun, 10 Sep 2023 00:00:00 +0000",
"toots": []
} }
} }

View file

@ -51,7 +51,7 @@ module.exports = async function () {
`https://cdn.coryd.dev/tv/${matchedEpisode['name'] `https://cdn.coryd.dev/tv/${matchedEpisode['name']
.replace(':', '') .replace(':', '')
.replace(/\s+/g, '-') .replace(/\s+/g, '-')
.toLowerCase()}.jpg?crop=450,662&crop_gravity=center&quality=100` || .toLowerCase()}.jpg?width=450&height=662&quality=100` ||
'https://cdn.coryd.dev/tv/missing-tv.jpg', 'https://cdn.coryd.dev/tv/missing-tv.jpg',
startingEpisode: matchedEpisode['episode'], startingEpisode: matchedEpisode['episode'],
startingSeason: matchedEpisode['season'], startingSeason: matchedEpisode['season'],
@ -70,7 +70,8 @@ module.exports = async function () {
`https://cdn.coryd.dev/tv/${episode['show']['title'] `https://cdn.coryd.dev/tv/${episode['show']['title']
.replace(':', '') .replace(':', '')
.replace(/\s+/g, '-') .replace(/\s+/g, '-')
.toLowerCase()}.jpg` || 'https://cdn.coryd.dev/tv/missing-tv.jpg', .toLowerCase()}.jpg?width=450&height=662&quality=100` ||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
episode: episodeNumber, episode: episodeNumber,
season: seasonNumber, season: seasonNumber,
type: 'tv', type: 'tv',