Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (23 loc) · 475 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 475 Bytes

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