From xactions
Scrapes X/Twitter profiles, followers, tweets, search results, hashtags, threads, media, DMs, likes without API using Puppeteer Node.js API and browser console scripts. Exports to JSON/CSV.
npx claudepluginhub nirholas/xactionsThis skill uses the workspace's default tool permissions.
All scrapers require an `auth_token` cookie from x.com (DevTools -> Application -> Cookies -> copy `auth_token` value).
CLI for scraping X/Twitter profiles, followers, tweets, searches, threads via Puppeteer stealth. Generates MCP configs for Claude Desktop, Cursor, VSCode. Outputs JSON/CSV for pipelines.
Extracts X/Twitter data via Xquik API: tweet/user search, follower extraction, engagement metrics, monitoring, webhooks, giveaways, 19 bulk tools. For social media analysis and automation.
Extracts and monitors X (Twitter) data via Xquik: tweet/user search, followers, replies/quotes, trends, communities, Spaces, follow checks, account webhooks. 22 MCP tools + REST API.
Share bugs, ideas, or general feedback.
All scrapers require an auth_token cookie from x.com (DevTools -> Application -> Cookies -> copy auth_token value).
npm install xactions -- all functions from src/scrapers/index.js.
import { createBrowser, createPage, loginWithCookie, scrapeProfile } from 'xactions';
const browser = await createBrowser();
const page = await createPage(browser);
await loginWithCookie(page, AUTH_TOKEN);
const profile = await scrapeProfile(page, 'nichxbt');
await browser.close();
| Function | Purpose |
|---|---|
scrapeProfile(page, username) | Profile data (bio, followers, following) |
scrapeFollowers(page, username, {limit}) | Follower list |
scrapeFollowing(page, username, {limit}) | Following list |
scrapeTweets(page, username, {limit}) | User's tweets |
searchTweets(page, query, {limit}) | Search results |
scrapeHashtag(page, tag, {limit}) | Hashtag tweets |
scrapeThread(page, tweetUrl) | Thread tweets |
scrapeMedia(page, username, {limit}) | Media URLs |
exportToJSON(data, path) / exportToCSV(data, path) | File export |
Standalone IIFEs -- paste into DevTools console on x.com. No dependencies.
| Script | File | Navigate to |
|---|---|---|
| Download video | src/scrapers/videoDownloader.js | Tweet with video |
| Export bookmarks | src/scrapers/bookmarkExporter.js | x.com/i/bookmarks |
| Unroll thread | src/scrapers/threadUnroller.js | Any thread |
| Find viral tweets | src/scrapers/viralTweets.js | User profile |
| Scrape followers | scripts/scrapeFollowers.js | x.com/USER/followers |
| Scrape following | scripts/scrapeFollowing.js | x.com/USER/following |
| Scrape profile | scripts/scrapeProfile.js | User profile |
| Scrape search | scripts/scrapeSearch.js | Search results |
| Scrape hashtag | scripts/scrapeHashtag.js | x.com/hashtag/TAG |
| Scrape likes | scripts/scrapeLikes.js | x.com/USER/likes |
| Scrape likers | scripts/scrapeLikers.js | Any tweet |
| Scrape replies | scripts/scrapeReplies.js | Any tweet |
| Scrape media | scripts/scrapeMedia.js | User media tab |
| Scrape DMs | scripts/scrapeDMs.js | x.com/messages |
| Scrape notifications | scripts/scrapeNotifications.js | x.com/notifications |
| Scrape list | scripts/scrapeList.js | Any X List |
| Scrape bookmarks | scripts/scrapeBookmarks.js | x.com/i/bookmarks |
| Export to CSV | scripts/exportToCSV.js | After any scrape |
| Link scraper | scripts/linkScraper.js | Any timeline |
| Quote retweets | scripts/scrapeQuoteRetweets.js | Any tweet |
All scrapers available via the MCP server for AI agents:
| Tool | Description |
|---|---|
x_get_profile | Scrape user profile |
x_get_followers | Get follower list |
x_get_following | Get following list |
x_get_tweets | Get user tweets |
x_search_tweets | Search tweets |
x_get_thread | Unroll thread |
x_download_video | Extract video URL |
browser.close() when done with Node.js scraperslimit parameter for deeper scraping (default varies by function)