kristalnaya.py 384 B

123456789101112131415
  1. from db0mb3r.services.service import Service
  2. class Kristalnaya(Service):
  3. phone_codes = [7]
  4. async def run(self):
  5. await self.post(
  6. "https://kristalnaya.ru/ajax/ajax.php?action=send_one_pas_reg",
  7. data={
  8. "data": '{"phone":"%s"}'
  9. % self.format(self.formatted_phone, "+* (***) ***-**-**"),
  10. },
  11. )