代理ip管理服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
791 B

  1. package com.bfd.crawl;//import com.bfd.crawl.process.ElasticsearchMaoJian;
  2. import com.bfd.crawl.process.ipManger;
  3. import lombok.extern.slf4j.Slf4j;
  4. import org.springframework.boot.SpringApplication;
  5. import org.springframework.boot.autoconfigure.SpringBootApplication;
  6. import org.springframework.scheduling.annotation.EnableScheduling;
  7. /**
  8. * @author:zhaoying
  9. * @className:Application
  10. * @version:1.0
  11. * @description:主入口
  12. * @Date:2023-12-15 14:30:41
  13. */
  14. @SpringBootApplication
  15. @EnableScheduling
  16. @Slf4j
  17. public class Application {
  18. public static void main(String[] args) {
  19. SpringApplication.run(com.bfd.crawl.Application.class, args);
  20. ipManger ipManger = new ipManger();
  21. Thread ipMangerThread = new Thread(ipManger);
  22. ipMangerThread.start();
  23. }
  24. }