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())