Skip to content

v0.4.1

Latest

Choose a tag to compare

@Kimwonjoon Kimwonjoon released this 19 Aug 00:34
· 2 commits to v0.4 since this release

JSONDecodeError, KeyError solve

def test_cplist():
    print("==============영화사목록==============")
    try:
        r = cpjson(pg = 1, sleep_time = 0.1)
        assert r
    except json.JSONDecodeError:
        print('알 수 없는 JsonDecodeError')
    except KeyError:
        print("이상한 key error")
    print("================================")