All templates
Web ScrapingIntermediate

Twitter Profile Scraper

Robomotion•Updated 3 days ago
Twitter Profile Scraper

Overview

Reads an X profile: the name, handle, bio, location, join date, following and followers counts and the number of posts, into a CSV.

Twitter Profile Scraper

Reads an X profile: the name, handle, bio, location, join date, following and followers counts and the number of posts, into a CSV.

What it extracts

  • fullName
  • handle
  • bio
  • location
  • joined
  • following
  • followers
  • postsCount

How it works

  1. Log in to X once in Chrome, in the profile you will use for the robot.
  2. In Setup Vars, set profile_dir to that Chrome profile folder. Chrome cannot open a profile another Chrome window has open: close Chrome before the run, or use a profile of its own.
  3. Run the flow and enter the page URL (for example https://x.com/BillGates) when prompted.
  4. The flow opens the page with your login, reads each field, and saves the result as twitter-profile-scraper.csv in your home folder.

The selectors were made with Robomotion's Web Inspector and tested on pages they were not made on. They name sections by their headings and fields by their labels, never by the values they read.

More web scraping templates

See all 124 →