IPlatformScraper for providing Twitter posts.
The scraping engine is powered by Tweetinvi
Inheritance
System.Object
TwitterScraper
Assembly: Scraper.Net.Twitter.dll
public class TwitterScraper : object, IPlatformScraper
Constructors
|
Improve this Doc
View Source
Declaration
public TwitterScraper(TwitterConfig config)
Parameters
| Type |
Name |
Description |
| TwitterConfig |
config |
|
Methods
|
Improve this Doc
View Source
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
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