Skip to content

Instantly share code, notes, and snippets.

View ActiveTK's full-sized avatar
💭
🤔

ActiveTK. ActiveTK

💭
🤔
View GitHub Profile
#!/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 にあります