Skip to content
knakaPublic

About

Fetches the X (Twitter) user timeline utilizing the Chrome DevTools Protocol to manipulate Chrome browser and intercept API response

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

twarc (Twitter Archiver)

Usage

Quit Chrome browser and make the command launch the browser with the CDP port open.

$ twitter-archive -u user -o /path/to/output.json

Alternatively, start your browser with --remote-debugging-port=9222 (any port number will do) and pass the port number to the command.

$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
$ twitter-archive -p 9222 -u user -o /path/to/output.json

You can also fetch search results like https://x.com/explore by passing the query string.

$ twitter-archive -q "from:user until:2010-02-01" -o /path/to/output.json

About

Fetches the X (Twitter) user timeline utilizing the Chrome DevTools Protocol to manipulate Chrome browser and intercept API response

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址