1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Chromeの検索履歴をSQLiteからCSVへ書き出す

Last updated at Posted at 2022-01-03

環境

Windows 10 Home

chromeのHistoryファイルはsqliteで扱える

場所はUsers/ユーザー名/AppData/Local/Google/Chrome/User Data/Default(もしくはProfile 番号)/History

Windowsの場合wslから使う(Windowsのsqlite3導入がしんどい)

apt install sqlite3

確認

ヒストリーファイルはChrome使用中はロックされるらしいのでコピーをとってそれを使う
sqlite3 History
.schemaでスキーマ確認が出来る。
select カラム名 from テーブル名;(普通のSQL)

書き出し

下記の記事を参考にして行いました。

書き出したらホストにファイル移して(cp output.txt /mnt/c/path/to/dest/)それをGoogleスプレッドシートでそのままインポートして見れる

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?