initial release
This commit is contained in:
12
Services/ArticleService.cs
Normal file
12
Services/ArticleService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using SmartReader;
|
||||
|
||||
namespace OpenQuery.Services;
|
||||
|
||||
public class ArticleService
|
||||
{
|
||||
public static async Task<Article> FetchArticleAsync(string url)
|
||||
{
|
||||
var article = await Reader.ParseArticleAsync(url);
|
||||
return article;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user