Skip to content

A scrapper that accept tags and return all the blog posts related to that tag

Notifications You must be signed in to change notification settings

galElmalah/hackernoon-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackernoon-scraper

A scrapper that accept tags and return all the blog posts related to that tag (that currently appear on the tag page). the data is returned in the following shape

export interface PostEntry {
  title: string;
  date: string;
  content: string;
  tag: string;
  postId?:string;
}

export type Scrapper = (tags: string[], currentPostsIds?: Set<string>) => Promise<Map<string, PostEntry[]>>

Calling the scrapper with let say coding and programming as input will return a map with the keys coding, and programming each holding a list of posts.

About

A scrapper that accept tags and return all the blog posts related to that tag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published