Sleazy Fork is available in English.

favorite artists - nHentai

Add artists to a favorite list

< favorite artists - nHentaiについてのフィードバック

レート:可 - スクリプトは動作するがバグがある

§
投稿日: 2023/01/04
編集日: 2023/01/04

Due to Zaous' comment I found the fix for this breaking issue since I had two artists this happened with: one with "." in the name and one with " | ".

Whenever a URL is constructed, the regular expression should be "/[.*+?^${}()|[]\\s]+/g" rather than just "/\s/g" as this replaces only spaces. this correction replaces all special characters + spaces or sequences of either or both by a single hyphen.

This change concerns lines 65 and 185. 65: "await fetch("https://nhentai.net/artist/" + artist_name.replace(/[.+?^${}()|[]\\s]+/g, '-') +"/popular", {" 185: "<a href="/artist/`+ artist.replace(/[.+?^${}()|[]\\s]+/g, '-') + `/" class="cover" style="/* position: absolute; */">"

返信を投稿

返信を投稿するにはログインしてください。