C# Class WebNovelConverter.Sources.RoyalRoadLSource

Inheritance: WebNovelSource
Afficher le fichier Open project: Mitch528/WebNovelConverter

Méthodes publiques

Méthode Description
GetChapterAsync ( ChapterLink link, ChapterRetrievalOptions options = default(ChapterRetrievalOptions), CancellationToken token = default(CancellationToken) ) : Task
GetChapterLinksAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task>
GetNovelInfoAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task
RoyalRoadLSource ( ) : System

Méthodes protégées

Méthode Description
CollectChapterLinks ( string baseUrl, IEnumerable linkElements, bool>.Func linkFilter = null ) : IEnumerable
ExpandSpoilers ( IElement rootElement ) : void

Expands spoilers in HTML for easy reading. Expects:

Spoilerxxx

RemoveDonation ( IElement rootElement ) : void
RemoveNavigation ( IElement rootElement ) : void

Private Methods

Méthode Description
CleanupHTML ( string html ) : string
RemoveEmptyTags ( IElement rootElement ) : void

Method Details

CollectChapterLinks() protected méthode

protected CollectChapterLinks ( string baseUrl, IEnumerable linkElements, bool>.Func linkFilter = null ) : IEnumerable
baseUrl string
linkElements IEnumerable
linkFilter bool>.Func
Résultat IEnumerable

ExpandSpoilers() protected méthode

Expands spoilers in HTML for easy reading. Expects:
Spoilerxxx
protected ExpandSpoilers ( IElement rootElement ) : void
rootElement IElement
Résultat void

GetChapterAsync() public méthode

public GetChapterAsync ( ChapterLink link, ChapterRetrievalOptions options = default(ChapterRetrievalOptions), CancellationToken token = default(CancellationToken) ) : Task
link WebNovelConverter.Sources.Models.ChapterLink
options ChapterRetrievalOptions
token System.Threading.CancellationToken
Résultat Task

GetChapterLinksAsync() public méthode

public GetChapterLinksAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task>
baseUrl string
token System.Threading.CancellationToken
Résultat Task>

GetNovelInfoAsync() public méthode

public GetNovelInfoAsync ( string baseUrl, CancellationToken token = default(CancellationToken) ) : Task
baseUrl string
token System.Threading.CancellationToken
Résultat Task

RemoveDonation() protected méthode

protected RemoveDonation ( IElement rootElement ) : void
rootElement IElement
Résultat void

RemoveNavigation() protected méthode

protected RemoveNavigation ( IElement rootElement ) : void
rootElement IElement
Résultat void

RoyalRoadLSource() public méthode

public RoyalRoadLSource ( ) : System
Résultat System