Skip to content

Instantly share code, notes, and snippets.

View saeideh-moghaddam's full-sized avatar
💻
__programmer__girl__

Saeideh-Moghaddam saeideh-moghaddam

💻
__programmer__girl__
View GitHub Profile
@sabesansathananthan
sabesansathananthan / requestService.js
Last active August 11, 2022 13:36
The Missing Part of Medium RSS Feed
const request = require("request");
const cheerio = require("cheerio");
const url = "https://medium.com/p/d5b52f24d53c";
const element = url.split("/");
const postId = element[element.length - 1];
request(url, async (error, response, body) => {
if (error) {
console.log(error);