Added support for m.imgur.com links. Changed curate ignore log message details.

This commit is contained in:
2018-05-05 03:18:05 +02:00
parent 9dd9c823e8
commit 3794fc3776
3 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ const fetch = require('node-fetch');
function eroshare(post) {
return fetch(`https://web.archive.org/web/20170630040157im_/https://eroshare.com/${post.host.id}`).then(res => {
if(res.ok) {
return res.text()
return res.text();
}
return Promise.reject(`Unable to recover Eroshare video '${post.host.id}' :(`);