(self)
| 620 | yield from arr |
| 621 | |
| 622 | def run(self): |
| 623 | for i in range(1, 2): |
| 624 | ret = self.request.getLawList(i) |
| 625 | arr = ret["result"]["data"] |
| 626 | if len(arr) == 0: |
| 627 | break |
| 628 | for item in arr: |
| 629 | if "publish" in item and item["publish"]: |
| 630 | item["publish"] = item["publish"].split(" ")[0] |
| 631 | # if self.is_bypassed_law(item): |
| 632 | # continue |
| 633 | # if item["status"] == "9": |
| 634 | # continue |
| 635 | self.parse_law(item) |
| 636 | if self.spec_title is not None: |
| 637 | exit(1) |
| 638 | |
| 639 | |
| 640 | def main(): |
no test coverage detected