csblogscraper
v1.3.2
Published
Get Blog and Update posts from CSGO ### Usage: ```ts import { getBlogPosts, getUpdatePosts } from "csblogscraper";
Downloads
4
Maintainers
Readme
CS Blog and Updates Scraper
Get Blog and Update posts from CSGO
Usage:
import { getBlogPosts, getUpdatePosts } from "csblogscraper";
const blogPosts = await getBlogPosts();
const updatePosts = await getUpdatePosts();
OR
import getPosts from "csblogscraper";
const posts = await getPosts("https://blog.counter-strike.net/");
Output:
interface Post {
title: string;
url: string;
date: Date;
image?: string;
content: string;
}