Ejemplo n.º 1
0
 static NativeMethods()
 {
     Class19.Q77LubhzKM3NS();
     NativeMethods.BookCount    = 0;
     NativeMethods.ChapterCount = 0;
     NativeMethods.BookMsg      = "";
 }
 public HelpUpdateNovel()
 {
     Class19.Q77LubhzKM3NS();
     this.rInfo = new RuleConfigInfo();
     this.tInfo = new TaskConfigInfo();
     this.InitializeComponent();
 }
Ejemplo n.º 3
0
 public HelpBatchCreate()
 {
     Class19.Q77LubhzKM3NS();
     this.dateTime_0 = DateTime.Now;
     this.m_Interval = 1;
     this.InitializeComponent();
 }
Ejemplo n.º 4
0
 public TaskForm()
 {
     Class19.Q77LubhzKM3NS();
     this.string_2   = "";
     this.string_1   = "";
     this.bool_0     = false;
     this.rInfo      = new RuleConfigInfo();
     this.tInfo      = new TaskConfigInfo();
     this.dateTime_0 = DateTime.Now;
     this.InitializeComponent();
 }
Ejemplo n.º 5
0
 public RuleForm()
 {
     Class19.Q77LubhzKM3NS();
     this.hashtable_0      = new Hashtable();
     this.int_0            = -1;
     this.ruleConfigInfo_0 = new RuleConfigInfo();
     this.ruleTestForm_0   = new RuleTestForm();
     this.taskConfigInfo_0 = new TaskConfigInfo();
     this.InitializeComponent();
     this.hashtable_0.Add("RuleVersion", Localization.Get("规则版本"));
     this.hashtable_0.Add("RuleID", Localization.Get("规则编号"));
     this.hashtable_0.Add("GetSiteName", Localization.Get("站点名称"));
     this.hashtable_0.Add("GetSiteCharset", Localization.Get("站点编码"));
     this.hashtable_0.Add("GetSiteUrl", Localization.Get("站点地址"));
     this.hashtable_0.Add("NovelSearchUrl", Localization.Get("站点搜索地址"));
     this.hashtable_0.Add("NovelSearchData", Localization.Get("搜索提交内容\r\n{SearchKey} 表示搜索提交的内容"));
     this.hashtable_0.Add("NovelSearch_GetNovelKey", Localization.Get("从搜索结果中获得小说编号\r\n{SearchKey} 表示搜索提交的内容\r\n此获得结果存入{NovelKey}变量"));
     this.hashtable_0.Add("NovelListUrl", Localization.Get("站点最新列表地址"));
     this.hashtable_0.Add("NovelList_GetNovelKey", Localization.Get("从最新列表中获得小说编号\r\n此规则中可以同时获得书名以方便手动时查看\r\n此获得结果存入{NovelKey}变量"));
     this.hashtable_0.Add("NovelUrl", Localization.Get("小说信息页地址 可调用{NovelKey}变量\r\n{NovelKey}一般情况表示小说编号"));
     this.hashtable_0.Add("NovelErr", Localization.Get("小说信息页错误识别标记"));
     this.hashtable_0.Add("NovelName", Localization.Get("获得小说名称正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("NovelAuthor", Localization.Get("获得小说作者正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("LagerSort", Localization.Get("获得小说大类正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("SmallSort", Localization.Get("获得小说小类正则,替换标签♂\r\n支持多模板\r\n如果目标站点没有小类,这里就重复输入一次大类规则"));
     this.hashtable_0.Add("NovelIntro", Localization.Get("获得小说简介正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("NovelKeyword", Localization.Get("获得小说主角(关键字)正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("NovelDegree", Localization.Get("获得写作进程正则(请把全本小说替换成完成、完结、完本),替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("NovelCover", Localization.Get("获得小说封面正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("NovelDefaultCoverUrl", Localization.Get("目标站默认封面地址\n遇到这个地址就不采集它的封面"));
     this.hashtable_0.Add("NovelInfo_GetNovelPubKey", Localization.Get("获得小说公众目录页地址正则\r\n支持多模板"));
     this.hashtable_0.Add("NovelInfo_GetNovelVipKey", Localization.Get("获得小说VIP目录页地址正则\r\n支持多模板\r\n这个一般无用,可留空"));
     this.hashtable_0.Add("PubCookies", Localization.Get("访问公众版需要登陆的Cookies\r\n一般无关,小说阅读网需要这个"));
     this.hashtable_0.Add("PubIndexUrl", Localization.Get("公众目录页地址 可调用{NovelPubKey} {NovelKey}变量"));
     this.hashtable_0.Add("PubIndexErr", Localization.Get("公众目录页错误识别标记"));
     this.hashtable_0.Add("PubVolumeContent", Localization.Get("获得目录部分关键HTML,一般可留空,替换标签♂\r\n替换支持{$分类名称$} {$小说名称$} {$小说作者$}变量"));
     this.hashtable_0.Add("PubVolumeSplit", Localization.Get("分割分卷"));
     this.hashtable_0.Add("PubVolumeName", Localization.Get("获得分卷名,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("PubChapterName", Localization.Get("获得章节名,替换标签♂\r\n替换支持{$分类名称$} {$小说名称$} {$小说作者$} {$书卷名称$}变量"));
     this.hashtable_0.Add("PubChapter_GetChapterKey", Localization.Get("获得章节地址(章节编号),所获得的数量必须和章节名相同。记录变量{ChapterKey}"));
     this.hashtable_0.Add("PubContentUrl", Localization.Get("章节内容页地址 可调用{ChapterKey} {NovelKey}变量"));
     this.hashtable_0.Add("PubContentErr", Localization.Get("章节内容页错误识别标记"));
     this.hashtable_0.Add("PubContent_GetTextKey", Localization.Get("内容页中真实内容有JS调用的,获得JS地址 记录变量{TextKey}"));
     this.hashtable_0.Add("PubTextUrl", Localization.Get("组合真实内容地址"));
     this.hashtable_0.Add("PubContentText", Localization.Get("获得章节内容的正则,替换标签♂\r\n支持多模板"));
     this.hashtable_0.Add("PubContentChapterName", Localization.Get("获得章节修正名称的正则,自动修复列表名称,替换标签♂\r\n支持多模板\r\n(此为高级功能,用于防采集列表替换章节名称)"));
     this.hashtable_0.Add("PubContentChapterNum", Localization.Get("获得章节修正名称的数量(此为高级功能,用于防采集列表替换章节名称的数量,从尾章节向前数)"));
     this.hashtable_0.Add("PubContentReplace", Localization.Get("章节内容替换规则(替换获取图片后)\r\n每行一个替换,格式如下\r\n需要替换的内容♂替换结果\r\n<div.+?>  这个表示过滤\r\n<div.+?>♂<br>  这个表示替换"));
 }
Ejemplo n.º 6
0
 public HelpLog()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 7
0
 public RuleTestForm()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 8
0
        private static void Main(string[] args)
        {
            string   str      = "";
            DateTime dateTime = DateTime.Parse("2000-01-01");
            DateTime now      = DateTime.Now;
            bool     flag     = false;

            try
            {
                Comm.Key = FormatDateTime.GetDiskInfo();
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.Message, Localization.Get("系统错误"));
                return;
            }
            if ((Comm.Key == null ? false : Comm.Key.Length == 16))
            {
                try
                {
                    Comm.Text = File.ReadAllText(string.Concat(Comm.Key, ".ini"), Encoding.UTF8);
                    if (!string.IsNullOrEmpty(Comm.Text))
                    {
                        string[] strArrays = SecurityUtil.DesDecode(Comm.Text, Comm.Key).Split(new char[] { '|' });
                        if ((int)strArrays.Length == 5)
                        {
                            DateTime.Parse(strArrays[0]);
                            str      = strArrays[2];
                            flag     = bool.Parse(strArrays[1]);
                            dateTime = DateTime.Parse(strArrays[4]);
                        }
                    }
                    else
                    {
                        DateTime now1 = DateTime.Now;
                    }
                }
                catch
                {
                    File.WriteAllText(string.Concat(Comm.Key, ".ini"), "", Encoding.UTF8);
                    DateTime dateTime1 = DateTime.Now;
                }
                try
                {
                    if (!Directory.Exists("Log"))
                    {
                        Directory.CreateDirectory("Log");
                    }
                    Configs.LoadConfigs();
                    Configs.BaseConfig.LicenseAd   = Localization.Get("站群系统,防封IP采集,各类软件定制 http://biqu01.com/");
                    Configs.BaseConfig.LicenseOk   = (str == Comm.Key ? true : Comm.Text == "");
                    Configs.BaseConfig.LicenseVip  = flag;
                    Configs.BaseConfig.LicenseTime = dateTime;
                    if (DateTime.Now > Configs.BaseConfig.LicenseTime)
                    {
                        Configs.BaseConfig.LicenseVip = false;
                    }
                }
                catch (Exception exception1)
                {
                    MessageBox.Show(exception1.Message, Localization.Get("错误提示"));
                    return;
                }
                try
                {
                    NovelSpider.NativeMethods.FreeConsole();
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(true);
                    Class19.Q77LubhzKM3NS();
                    Application.Run(new MdiForm());
                }
                finally
                {
                    Localization.Refresh();
                    NovelSpider.NativeMethods.FreeConsole();
                }
            }
            else
            {
                MessageBox.Show(Localization.Get("系统编码失败,请联系管理员。"), Localization.Get("系统错误"));
            }
        }
Ejemplo n.º 9
0
 static MdiForm()
 {
     Class19.Q77LubhzKM3NS();
 }
Ejemplo n.º 10
0
 public Settings()
 {
     Class19.Q77LubhzKM3NS();
 }
Ejemplo n.º 11
0
 public CollectTasks()
 {
     Class19.Q77LubhzKM3NS();
 }
 public HelpConversion()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 13
0
 public WelcomeForm()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 14
0
 public NativeMethods()
 {
     Class19.Q77LubhzKM3NS();
 }
Ejemplo n.º 15
0
 internal Resources()
 {
     Class19.Q77LubhzKM3NS();
 }
Ejemplo n.º 16
0
 public Class18()
 {
     Class19.Q77LubhzKM3NS();
 }
Ejemplo n.º 17
0
 static Class18()
 {
     Class19.Q77LubhzKM3NS();
     Class18.eibbDcEcC = typeof(Class18).Assembly.ManifestModule;
 }
 public HelpDeleteNovel()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 19
0
 static Settings()
 {
     Class19.Q77LubhzKM3NS();
     Settings.defaultInstance = (Settings)SettingsBase.Synchronized(new Settings());
 }
Ejemplo n.º 20
0
 public HelpUpdateNovelBySelf()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 21
0
 public NovelSpiderUpdate()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
 public HelpTaskNovelInfo()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 23
0
 public MysqlForm()
 {
     Class19.Q77LubhzKM3NS();
     this.InitializeComponent();
 }
Ejemplo n.º 24
0
 public MdiForm()
 {
     Class19.Q77LubhzKM3NS();
     this.KeyPassWd = "";
     this.InitializeComponent();
 }