Show / Hide Table of Contents

Class ScraperExtensions

Inheritance
System.Object
ScraperExtensions
Namespace: Scraper.Net.Youtube
Assembly: Scraper.Net.Youtube.dll
Syntax
public static class ScraperExtensions : object

Methods

| Improve this Doc View Source

AddYoutube(ScraperBuilder, YoutubeConfig, String)

Adds a YoutubeScraper

Declaration
public static ScraperBuilder AddYoutube(this ScraperBuilder builder, YoutubeConfig config = null, string platform = null)
Parameters
Type Name Description
ScraperBuilder builder
YoutubeConfig config
System.String platform
Returns
Type Description
ScraperBuilder

A reference to this instance after the operation has completed

| Improve this Doc View Source

GetYoutubeAuthor(IScraperService, String, CancellationToken)

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

GetYoutubePosts(IScraperService, String, CancellationToken)

Declaration
public static IAsyncEnumerable<Post> GetYoutubePosts(this IScraperService service, string id, CancellationToken ct = null)
Parameters
Type Name Description
IScraperService service
System.String id
CancellationToken ct
Returns
Type Description
IAsyncEnumerable<Post>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX