(timestamp: int)
| 294 | |
| 295 | @staticmethod |
| 296 | def format_time(timestamp: int) -> str: |
| 297 | tz = timezone(timedelta(hours=+8)) |
| 298 | return datetime.fromtimestamp(timestamp, tz).strftime("%Y-%m-%d %H:%M") |
| 299 | |
| 300 | def get_data(self, retry: int = 3): |
| 301 | try: |