Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Koloskov committed Dec 5, 2023
1 parent d7ffb04 commit 18473f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Elib2Ebook/Logic/Getters/RoyalRoadGetter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public override async Task<Book> Get(Uri url) {
var book = new Book(url) {
Cover = await GetCover(doc, url),
Chapters = await FillChapters(doc, url),
Title = doc.GetTextBySelector("h1[property=name]"),
Title = doc.GetTextBySelector("h1"),
Author = GetAuthor(doc, url),
Annotation = doc.QuerySelector("div[property=description]")?.InnerHtml,
Annotation = doc.QuerySelector("div.description div.hidden-content")?.InnerHtml,
};

return book;
Expand Down

0 comments on commit 18473f3

Please sign in to comment.