Skip to content

0.2/movieList

Choose a tag to compare

@j25ng j25ng released this 15 Aug 15:24
· 41 commits to main since this release

v0.2 영화진흥위원회 영화목록 API 조회 및 연도별 데이터 수집

save data

$ cd data
$ tree
.
└── movies
    ├── year=2015
    │   └── movieList.json
    ├── year=2016
    │   └── movieList.json
    ├── year=2017
    │   └── movieList.json
    ├── year=2018
    │   └── movieList.json
    ├── year=2019
    │   └── movieList.json
    ├── year=2020
    │   └── movieList.json
    └── year=2021
        └── movieList.json

8 directories, 7 files

check file exists

source code

if os.path.exists(file_path):
    print(f"데이터가 이미 존재합니다: {file_path}")]
    return True

test result