[Mainsite] NovelUpdates links regex

Staff
Super Moderator
Joined
Aug 19, 2020
Messages
781
NU regex doesn't match some valid links
- https://www.novelupdates.com/series/<infinite-dendrogram>/
image.png

image.png

Regex from #contributors that would probably fix it https?:\/\/www\.novelupdates\.com\/series\/(\w|-|%[A-F2-9][A-F0-9])+ (credit to @Ndtm)
- https://www.novelupdates.com/series/its-a-little-hard-to-be-a-villainess-of-an-otome-game-in-modern-society/
image.png
 
File Attacher
Staff
Super Moderator
Joined
Jan 20, 2018
Messages
258
Regex from #contributors that would probably fix it https?:\/\/www\.novelupdates\.com\/series\/(\w|-|%[A-F2-9][A-F0-9])+ (credit to @Ndtm)
Oh god, my late night ramblings coming to haunt me :haa:
Not only does it not allow for lowercase characters in the percent encoding but at that point it'd probably be easier to just blanket grab everything after /series/
 
Power Uploader
Joined
Jan 22, 2018
Messages
593
The second one prolly has a zero-width space on the NU title somewhere or somewhere on the whole page,

https://stackoverflow.com/questions/65976094/unnecessary-e2808b-added-in-the-url

Have reported it on NU and it should be fixed regardless.
Fixed.

https://www.novelupdates.com/series...illainess-of-an-otome-game-in-modern-society/

The old link still works as a redirect.

https://mangadex.org/title/64c59add...-building-a-corporate-empire-before-the-crash

Added the new link on the page.
 

Users who are viewing this thread

Top