updated config to separate trakt episode and movie into distinct items
This commit is contained in:
parent
5328d0fd25
commit
a64bce8020
1 changed files with 9 additions and 3 deletions
12
config.js
12
config.js
|
|
@ -5,7 +5,8 @@ import {
|
|||
getMalojaScrobble,
|
||||
getReadingBooklogr,
|
||||
getRSSItemTitle,
|
||||
getTraktEpisodeAndMovie,
|
||||
getTraktEpisode,
|
||||
getTraktMovie,
|
||||
htmlLinkRegex,
|
||||
} from './utils.js'
|
||||
|
||||
|
|
@ -28,9 +29,14 @@ export const items = [
|
|||
getLatest: async () => getLetterboxdActivity('stfudonny', false),
|
||||
},
|
||||
{
|
||||
id: 'trakt',
|
||||
id: 'trakt-episode',
|
||||
regex: htmlLinkRegex('trakt.tv/users/crankle'),
|
||||
getLatest: async () =>
|
||||
getTraktEpisodeAndMovie('crankle', '78e1e87b446901f7e4f0883dd4995cec', false),
|
||||
getTraktEpisode('crankle', '78e1e87b446901f7e4f0883dd4995cec', false),
|
||||
},
|
||||
{
|
||||
id: 'trakt-movie',
|
||||
regex: htmlLinkRegex('trakt.tv/users/crankle'),
|
||||
getLatest: async () => getTraktMovie('crankle', false),
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue