🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

nitter-scraper

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nitter-scraper - npm Package Compare versions

Comparing version

to
1.0.2

2

dist/scraper.d.ts

@@ -1,2 +0,2 @@

import type { Tweet } from "@/types/Tweet";
import type { Tweet } from "./types/Tweet";
/**

@@ -3,0 +3,0 @@ * Fetch tweets from Nitter for a given username

@@ -38,3 +38,3 @@ "use strict";

const cheerio = __importStar(require("cheerio"));
const dateUtils_1 = require("@/utils/dateUtils");
const dateUtils_1 = require("./utils/dateUtils");
// Constants

@@ -41,0 +41,0 @@ const USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15";

@@ -1,2 +0,2 @@

import type { Tweet } from "@/types/Tweet";
import type { Tweet } from "../types/Tweet";
/**

@@ -3,0 +3,0 @@ * Save tweets to a JSON file, deduplicating based on complete tweet object

{
"name": "nitter-scraper",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Twitter scraper that uses Nitter to fetch tweets without authentication",

@@ -8,3 +8,3 @@ "main": "dist/index.js",

"scripts": {
"build": "tsc",
"build": "tsc && tsc-alias",
"start": "bun run src/index.ts",

@@ -23,3 +23,4 @@ "prepare": "npm run build",

"dependencies": {
"cheerio": "^1.0.0-rc.12"
"cheerio": "^1.0.0-rc.12",
"tsc-alias": "^1.8.11"
},

@@ -26,0 +27,0 @@ "devDependencies": {