This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Twitterの「データエクスポート」から取得したtweets.jsファイルを解析して、 | |
| 1ツイート1行のテキストファイルとして出力するスクリプトです。 | |
| 使い方の例 | |
| python export_tweets.py tweets.js | |
| python export_tweets.py tweets.js -o output.txt | |
| ※tweets.jsは、エクスポートしたZIPファイルの中の data/tweets.js にあります。 |
OlderNewer