Fix publicationId for MangaWorld
This commit is contained in:
parent
4c1a659f16
commit
01041e43ac
@ -69,7 +69,9 @@ public class Mangaworld: MangaConnector
|
||||
if (requestResult.htmlDocument is null)
|
||||
return null;
|
||||
|
||||
return ParseSinglePublicationFromHtml(requestResult.htmlDocument, url.Split('/')[^2]);
|
||||
Regex idRex = new (@"https:\/\/www\.mangaworld\.bz\/manga\/([0-9]+\/[0-9A-z\-]+)");
|
||||
string id = idRex.Match(url).Groups[1].Value;
|
||||
return ParseSinglePublicationFromHtml(requestResult.htmlDocument, id);
|
||||
}
|
||||
|
||||
private Manga ParseSinglePublicationFromHtml(HtmlDocument document, string publicationId)
|
||||
|
Loading…
Reference in New Issue
Block a user