MLのアーカイブを取得してmbox形式へ変換

  • MLの保存書庫からダウンロード
  • 少し修正してmboxとして利用できるようにする

アーカイブのダウンロード、mboxへ変換

ttssh2-user, ttssh2-dev

  • ttssh2-users.mbox を作成
wget --no-parent -r -l 1 -A "*.txt","*.txt.gz" https://osdn.net/projects/ttssh2/lists/archive/users/
zcat -f osdn.net/projects/ttssh2/lists/archive/users/* | sed -e 's/ @ /@/' > ttssh2-users.mbox
  • ttssh2-dev.mbox を作成
wget --no-parent -r -l 1 -A "*.txt","*.txt.gz" https://osdn.net/projects/ttssh2/lists/archive/dev/
zcat -f osdn.net/projects/ttssh2/lists/archive/dev/* | sed -e 's/ @ /@/' > ttssh2-dev.mbox
  • ttssh2-devel.mbox を作成
    • 非公開なのでuser,passwordが必要
curl -c cookie.txt -d "username=your@mail" -d "password=your_password" https://lists.osdn.me/mailman/private/ttssh2-devel/ -o list.html
wget --no-parent --load-cookies cookie.txt -r -erobots=off -A "*.txt","*.txt.gz" -l 1 https://lists.osdn.me/mailman/private/ttssh2-devel/
find lists.osdn.me/mailman/ -type f -exec nkf -w8 {} \; | sed -e 's/ @ /@/' > ttssh2-devel.mbox