Administrator
2024-04-02 1176a493039ded49d888b451793bc272e18a9b5a
third_data/kpl_api.py
@@ -213,17 +213,19 @@
    blocks = []
    try:
        _bks = __getConceptJXBK(code)
        print(_bks)
        if _bks:
            blocks.extend(_bks)
    except:
        pass
    try:
        _bks = __getConceptBK(code)
        if _bks:
            blocks.extend(_bks)
    except:
        pass
    if not blocks:
        try:
            _bks = __getConceptBK(code)
            print(_bks)
            if _bks:
                blocks.extend(_bks)
        except:
            pass
    return list(set(blocks))
@@ -259,4 +261,4 @@
if __name__ == "__main__":
    print(getCodeBlocks("600822"))
    print(getLimitUpInfoNew())