Allowing for -mobile gfycat links, simplified URL patterns
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
const fetch = require('node-fetch');
|
||||
|
||||
async function imgurImage(post) {
|
||||
console.log(post.host);
|
||||
|
||||
const res = await fetch(`https://imgur.com/${post.host.id}`);
|
||||
const html = await res.text();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user