From 1015a4c326c511b768a74bbb93ab164a0f4d2f63 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 31 May 2021 16:27:00 +0200 Subject: [PATCH] rollback --- src/engines/e621.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;