diff --git a/src/engines/e621.ts b/src/engines/e621.ts index ded1158..6770a00 100644 --- a/src/engines/e621.ts +++ b/src/engines/e621.ts @@ -16,8 +16,7 @@ export default class e621 implements ScrapeEngine { // Set image url const downloadEl = document.querySelector("#image-download-link > a") as HTMLAnchorElement; - // e926 doesnt allow downloads from direct links for some reason. so as a workaround we are using the e621 mirror; theirfor replacing - post.contentUrl = downloadEl?.href.replace(/\.e926\.net\/data/, '.e621.net/data'); + post.contentUrl = downloadEl?.href; if (post.contentUrl == undefined) { return result;