An extension for extracting and downloading tweets for text mining.
If you use this extension for your research, please reference it as follows:
Moncomble, F. (2026). 𝕏-Scraper (Version 0.7) [JavaScript]. Arras, France: Université d’Artois. Available at: https://fmoncomble.github.io/X-scraper/
Remember to pin the add-on to the toolbar.
Chromium-based browsers are no longer supported.
Start.Stop button or abort by closing the dialog.screen_name, the tweet’s publication date (created_at), full text and URL are selected.
user_# and tweet URLs will not be included.XML/XTZ (TXM) for an XML file to import into TXM (using the XML/TEI-Zero module)
ref in the field labelled “Out of text to edit”XML (Sketch Engine)for an XML file to import into Sketch EngineIRaMuTeQ for a plain text file formatted for IRaMuTeQ softwareTXT for plain textCSVXLSX (Excel spreadsheet)JSONDownload to save the output file to your computer.The add-on collects tweets by automatically scrolling the search results page. This makes repeated calls to the 𝕏/Twitter server, which eventually times out with a 429 response (Too many requests). When that happens (generally after scraping ~900 tweets), download the file, reset, allow a few minutes for the server to ‘cool down’, then adjust your search parameters to avoid collecting duplicates and resume scraping.
⚠️ Important! In v0.2, the add-on’s popup window needs to remain open for the extension to behave properly. Clicking outside it, switching to another tab/window, or switching to a different app will cause it to close, effectively preventing the user from interacting with the extension during or after the scraping process.
This is addressed in v0.3 through a redesigned interface: make sure to download the newest version.
Although Elon Musk has repeatedly expressed his opposition to scraping 𝕏/Twitter data, collecting publicly available data for research purposes is legal in most countries. However, as a precaution, it is advisable to create an ad-hoc account for this specific purpose.