Show / Hide Table of Contents

Interface IPlatformScraper

Scrapes a specific platform

Namespace: Scraper.Net
Assembly: Scraper.Net.dll
Syntax
public interface IPlatformScraper

Methods

| Improve this Doc View Source

GetAuthorAsync(String, CancellationToken)

Finds an author by id

Declaration
Task<Author> GetAuthorAsync(string id, CancellationToken ct = null)
Parameters
Type Name Description
System.String id

Author id

CancellationToken ct

Cancellation token

Returns
Type Description
Task<Author>

Task of an Author

| Improve this Doc View Source

GetPostsAsync(String, CancellationToken)

Finds posts by author id

Declaration
IAsyncEnumerable<Post> GetPostsAsync(string id, CancellationToken ct = null)
Parameters
Type Name Description
System.String id

Author id

CancellationToken ct

Cancellation token

Returns
Type Description
IAsyncEnumerable<Post>

Async-enumerable of posts

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX