Skip to content

Commit

Permalink
doc: refresh reload
Browse files Browse the repository at this point in the history
  • Loading branch information
azuki774 committed Jul 20, 2024
1 parent d7366bf commit 862a374
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

## money-forward
- https://moneyforward.com に自動的にログインして、指定したURLのHTMLソースを取得して保存する。
### Usage
- `deploymments/compose.yml``money-forward.yml` の要領で、コンテナ `bill-fetcher-money-forward` を起動させる。
- 出力先は、コンテナ内の `/data/latest/<各種ページ>
- 取得したいリンクと、必要に応じて金融機関連携の「更新」ボタンの XPATH を環境変数で渡す。

## sbi
- https://site1.sbisec.co.jp/ETGate/ に自動的にログインして、ポートフォリオの表ごとに保存する。
- 出力先は、コンテナ内の `/data/YYYYMMDD/YYYYMMDD_x.csv`
- `x`: 連番

## データ取り込み例
- [mf-importer](https://github.com/azuki774/mf-importer)

Expand Down
18 changes: 5 additions & 13 deletions deployment/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,10 @@ services:
# volumes:
# - ./:/data/

# fetcher-sbi:
# image: bill-fetcher-sbi
# container_name: bill-fetcher-sbi
# env_file:
# - sbi-token.env
# volumes:
# - ./:/data/

fetcher-money-forward:
image: bill-fetcher-money-forward
container_name: bill-fetcher-money-forward
fetcher-sbi:
image: bill-fetcher-sbi
container_name: bill-fetcher-sbi
env_file:
- money-forward.env
- sbi-token.env
volumes:
- ./:/data/
- ./:/data/

0 comments on commit 862a374

Please sign in to comment.