注释类型 Before


  • @Retention(RUNTIME)
    public @interface Before
    爬取之前执行,用于定义初始化配置,执行方式在init方法之后,如果要实现续爬功能应该重写init方法