Added limit parameter set to Infinity to reddit user submissions API call, as default limit appears to be too low and posts go missing. Notifying when item gets extracted from album.
This commit is contained in:
@@ -12,6 +12,10 @@ function imgurAlbum(post) {
|
||||
}).then(res => res.json()).then(res => {
|
||||
const extract = config.library.album.extractSingleItem && res.data.images.length === 1;
|
||||
|
||||
if(extract) {
|
||||
console.log('\x1b[36m%s\x1b[0m', `Extracting single item from album '${post.title}' - ${res.data.link}`);
|
||||
}
|
||||
|
||||
return {
|
||||
album: extract ? null : {
|
||||
id: res.data.id,
|
||||
|
||||
Reference in New Issue
Block a user