Warning
Not in active development.
Chrome installation instructions. Firefox support is likely broken.
When the service formerly known as Twitter changed its primary domain name to X.com, the API was also moved (api.x.com) which broke this extension entirely.
This fork attempts to patch the extension to restore the basics that functioned prior to that domain name change. That is all this is.
Features relying on the public API, which was shut down before the domain name change, will not be restored. If you use this, expect your browser's dev console to show errors as functions of the plugin try to contact since-shutdown endpoints. Please don't open issues asking for broken functionality to be restored (but you can open PRs...! 😉).
This is a pet project, made for myself primarily. Despite the partial breakages, there was enough working here I found useful. It was the only extension I found that provided a one-click method to extract the URL of a video hosted on Twitter's servers, which I find much easier to work with and share around.
Tip
Bulk downloading is broken. If you must bulk download media, instead try twmd.
Installation is unintuitive but achievable. First, download your relevant binary. Once you've extracted it, try running twmd -u=<username> -a -L. It will return an error to you at first, but then let you provide the auth_token and ct0 values it needs to actually work the next time you re-run that command. In Chrome/Chromium, open a new X.com tab where you're logged in and let your timeline finish loading. Then right-click, go to Inspect > Application > Cookies > https://x.com, and copy the values for auth_token and ct0 in here.
From this point onwards, the readme is outdated! The original author removed the extension from the Chrome/Firefox extension sites so those links won't work.
- License: The MIT license
- Copyright (c) 2016 風柳(furyu)
- 対象ブラウザ: Google Chrome、Firefox
Web 版公式 Twitter のメディア(画像/動画)を、原寸サイズでダウンロードするためのスクリプト。
※個別ツイートのメディアダウンロードについては、TweetDeck でも対応。
Google Chrome で、
より拡張機能を追加する。
Firefox Quantum で、
よりアドオンを追加する。
Firefox+GreasemonkeyTampermonkey、Google Chrome+Tampermonkey の環境で、
Twitter Media Downloader for old x.com (twMediaDownloader.user.js)
をクリックし、指示に従ってインストール。
※ Firefox では Quantum(57) + Greasemonkey 4 より動作しなくなった(代わりに Tampermonkey を使用すること)。
Web 版公式 Twitter 上で、ユーザータイムラインや検索タイムラインを開くと、「メディア↓」のようなリンクが挿入される。
これをクリックするとダイアログが表示されるので、[開始]ボタンをクリックすると、原寸画像/動画の ZIP 化が開始される。
※ ZIP 化の進捗は、下部にログ出力される。
ZIP 化が完了するか、もしくは[停止]を押すと、対象となる画像/動画ファイルをまとめた ZIP ファイルがダウンロードされる。
※ ログの内容も ZIP の中に保存される。
必要に応じて、保存対象となるツイートの Tweet ID 範囲、および、ツイートの制限数を指定可能。
※デフォルト(範囲空白)の状態では、Tweet ID 範囲は全てで、ツイートの制限数にのみ制限される。
また、各メディア付ツイートにもダウンロード用のリンクが追加され、個別にダウンロードすることも可能。
※ Chrome 拡張機能の場合、この機能は ON/OFF できる。
-
jQuery, jquery/jquery: jQuery JavaScript Library
License | jQuery Foundation
The MIT License -
JSZip
Copyright (c) 2009-2014 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso
The MIT License -
MikeMcl/decimal.js: An arbitrary-precision Decimal type for JavaScript
Copyright (c) 2016, 2017 Michael Mclaughlin
The MIT Licence -
lambtron/chrome-extension-twitter-oauth-example: Chrome Extension Twitter Oauth Example
Copyright (c) 2017 Andy Jiang
The MIT Licence -
sha1.js
Copyright Paul Johnston 2000 - 2009 The BSD License -
oauth.js(^1)
Copyright 2008 Netflix, Inc. The Apache License, Version 2.0
(^1) archived: oauth.js -
jsTwitterOAuth/twitter-api.js
Copyright (c) 2018 風柳 (furyu)
MIT License

