Show / Hide Table of Contents

Class YoutubeScraper

Inheritance
System.Object
YoutubeScraper
Implements
IPlatformScraper
Namespace: Scraper.Net.Youtube
Assembly: Scraper.Net.Youtube.dll
Syntax
public class YoutubeScraper : object, IPlatformScraper

Constructors

| Improve this Doc View Source

YoutubeScraper(YoutubeConfig, ILoggerFactory)

Declaration
public YoutubeScraper(YoutubeConfig config, ILoggerFactory loggerFactory)
Parameters
Type Name Description
YoutubeConfig config
ILoggerFactory loggerFactory

Methods

| Improve this Doc View Source

GetAuthorAsync(String, CancellationToken)

Declaration
public Task<Author> GetAuthorAsync(string id, CancellationToken ct = null)
Parameters
Type Name Description
System.String id
CancellationToken ct
Returns
Type Description
Task<Author>
| Improve this Doc View Source

GetPostsAsync(String, CancellationToken)

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

Implements

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