{"repo":"the-convocation/twitter-scraper","free":true,"listed":false,"github":"https://github.com/the-convocation/twitter-scraper","clone":"git clone https://github.com/the-convocation/twitter-scraper.git","description":"A port of n0madic/twitter-scraper to Node.js.","language":"TypeScript","stars":638,"topics":["node-js","scraper","twitter"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"twitter-scraper A port of the now-archived n0madic/twitter-scraper to Node.js. Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has it's own API, which I reverse-engineered. No API rate limits. No tokens needed. No restrictions. Extremely fast. You can use this library to get the text of any user's Tweets trivially. Many things have changed since X (the company formerly known as Twitter) was acquired in 2022: - Several operations require logging in with a real user account via scraper.login() . While we are not aware of confirmed cases caused by this library, any account you log into with this library is subject to being banned at any time. You have been warned. - Twitter's frontend API does in fact have rate limits (#11). The rate limits are dynamic and sometimes change, so we don't know exactly what they are at all times. Refer to rate limiting for more information. - Twitter's authentication requirements and frontend API endpoints change frequently, breaking this library. Fixes for these issues typically take at least a few days to go out. Installation This package requires Node.js v16.0.0 or greater. NPM: Yarn: TypeScript types have been bundled with the distribution. Usage Most use cases are exactly the same as in n0madic/twitter-scraper. Channel iterators have been translated into AsyncGenerator instances, and can be consumed with the corresponding for await (const x of y) { ... } syntax. Browser usage This packag","default_branch":null,"files":null,"tree":[],"storefront":"/r/the-convocation","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/the-convocation/twitter-scraper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}