Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
/ csblogscraper Public archive

Get Blog and Update posts from CSGO

Notifications You must be signed in to change notification settings

Ta1al/csblogscraper

Repository files navigation

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;
}