yj
2024-07-25 c0dc1bc9676d0bc15355cfd16e9bb92a31518aa8
po/caq_answer_page.py
@@ -30,6 +30,7 @@
        current = int(match.group(1))
        total = int(match.group(2))
        while current <= total:
            print(f"\n现在是CAQ分片1第{current}题")
            # 获取所有题目
            questions = self.get_eles(self.elements.questions, 5)
            for question in questions:
@@ -59,6 +60,7 @@
        total = int(match.group(2))
        while current <= total:
            print(f"\n现在是CAQ分片2第{current}题")
            # 获取到所有选项
            options = self.get_eles(self.elements.options_2, 5)
            number = random.randint(0, 4)