Added predata step. Using RedGifs temporary API key.

This commit is contained in:
2023-02-27 02:37:08 +01:00
parent 94bc1cc3e1
commit c69ac9876a
16 changed files with 9877 additions and 1524 deletions

View File

@@ -39,7 +39,7 @@ async function getPosts(username, reddit, args) {
return submissions;
} catch (error) {
logger.warn(`Failed to fetch posts from reddit user '${username}': ${error.message} (https://reddit.com/user/${username})`);
logger.error(`Failed to fetch posts from reddit user '${username}': ${error.message} (https://reddit.com/user/${username})`);
return [];
}