diff --git a/Form1.cs b/Form1.cs index ed8111d..a3aa9b7 100644 --- a/Form1.cs +++ b/Form1.cs @@ -22,7 +22,7 @@ namespace Omnibus public partial class Form1 : Form { - private String version = "1.4.8"; + private String version = "1.4.8.1"; private String url = "https://getcomics.info/?s="; private int cancelled = 0; private bool isDownloading = false; @@ -219,6 +219,11 @@ private async void btnDownload_ClickAsync(object sender, EventArgs e) var htmlNodes = doc.DocumentNode.SelectSingleNode("//a[@title='Mega Link']"); + if (htmlNodes == null) //Check to see if they just renamed the Node + { + htmlNodes = doc.DocumentNode.SelectSingleNode("//a[@title='MEGA']"); + } + if (htmlNodes == null) { foreach(HtmlNode node1 in doc.DocumentNode.SelectNodes("//a")) diff --git a/README.md b/README.md index 2254023..0eafbba 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,14 @@ Download the latest release, unzip, and run. ## Setup 1. Go to [GetComics.info](https://getComics.info) and make sure the page loads fully -2. You need to get two cookies from your browser: __cfduid and cf_clearance +2. You need to get the __cfduid cookie from your browser 1. If you are using Chrome you can go into the Developer Tools > Application and see the Cookies there 2. If you are using Firefox you can go under the Web Developer > Storage Inspector and see the Cookies there 3. If you are using another browser, just search Google for how to view cookies in that browser 3. Get your UserAgent string 1. A site like https://www.whatismybrowser.com/detect/what-is-my-user-agent works fine 4. Open Omnibus and go to the Settings (the gear button) -5. Paste in your full UserAgent string and the info from the two cookies +5. Paste in your full UserAgent string and the info from the cookie 6. Click Save ## Usage diff --git a/Settings.Designer.cs b/Settings.Designer.cs index 4213c85..744d7d1 100644 --- a/Settings.Designer.cs +++ b/Settings.Designer.cs @@ -41,10 +41,8 @@ private void InitializeComponent() this.cbLogs = new System.Windows.Forms.CheckBox(); this.lblWebAgent = new System.Windows.Forms.Label(); this.lblCfduid = new System.Windows.Forms.Label(); - this.lblCF_clearance = new System.Windows.Forms.Label(); this.tbUserAgent = new System.Windows.Forms.TextBox(); this.tbCfduid = new System.Windows.Forms.TextBox(); - this.tbCF_clearance = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // tbDLocation @@ -158,15 +156,6 @@ private void InitializeComponent() this.lblCfduid.TabIndex = 10; this.lblCfduid.Text = "__cfduid"; // - // lblCF_clearance - // - this.lblCF_clearance.AutoSize = true; - this.lblCF_clearance.Location = new System.Drawing.Point(28, 337); - this.lblCF_clearance.Name = "lblCF_clearance"; - this.lblCF_clearance.Size = new System.Drawing.Size(69, 13); - this.lblCF_clearance.TabIndex = 11; - this.lblCF_clearance.Text = "cf_clearance"; - // // tbUserAgent // this.tbUserAgent.Location = new System.Drawing.Point(31, 240); @@ -181,22 +170,13 @@ private void InitializeComponent() this.tbCfduid.Size = new System.Drawing.Size(418, 20); this.tbCfduid.TabIndex = 13; // - // tbCF_clearance - // - this.tbCF_clearance.Location = new System.Drawing.Point(30, 353); - this.tbCF_clearance.Name = "tbCF_clearance"; - this.tbCF_clearance.Size = new System.Drawing.Size(418, 20); - this.tbCF_clearance.TabIndex = 14; - // // Settings // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(571, 453); - this.Controls.Add(this.tbCF_clearance); this.Controls.Add(this.tbCfduid); this.Controls.Add(this.tbUserAgent); - this.Controls.Add(this.lblCF_clearance); this.Controls.Add(this.lblCfduid); this.Controls.Add(this.lblWebAgent); this.Controls.Add(this.cbLogs); @@ -232,9 +212,7 @@ private void InitializeComponent() private System.Windows.Forms.CheckBox cbLogs; private System.Windows.Forms.Label lblWebAgent; private System.Windows.Forms.Label lblCfduid; - private System.Windows.Forms.Label lblCF_clearance; private System.Windows.Forms.TextBox tbUserAgent; private System.Windows.Forms.TextBox tbCfduid; - private System.Windows.Forms.TextBox tbCF_clearance; } } \ No newline at end of file diff --git a/Settings.cs b/Settings.cs index 7c2475e..169490a 100644 --- a/Settings.cs +++ b/Settings.cs @@ -33,7 +33,6 @@ private void Settings_Load(object sender, EventArgs e) tbUserAgent.Text = Properties.Settings.Default.UserAgent; tbCfduid.Text = Properties.Settings.Default.cfduid; - tbCF_clearance.Text = Properties.Settings.Default.cf_clearance; } private void btnSave_Click(object sender, EventArgs e) @@ -50,7 +49,6 @@ private void btnSave_Click(object sender, EventArgs e) Properties.Settings.Default.cfduid = tbCfduid.Text; Properties.Settings.Default.Save(); - Properties.Settings.Default.cf_clearance = tbCF_clearance.Text; Properties.Settings.Default.Save(); this.Close(); diff --git a/bin/Debug/Omnibus.exe b/bin/Debug/Omnibus.exe index 47e9644..7b30f4a 100644 Binary files a/bin/Debug/Omnibus.exe and b/bin/Debug/Omnibus.exe differ diff --git a/bin/Debug/Omnibus.pdb b/bin/Debug/Omnibus.pdb index 9253fae..f2076a7 100644 Binary files a/bin/Debug/Omnibus.pdb and b/bin/Debug/Omnibus.pdb differ diff --git a/obj/Debug/Omnibus.csproj.GenerateResource.cache b/obj/Debug/Omnibus.csproj.GenerateResource.cache index 79c8e2b..6fda41c 100644 Binary files a/obj/Debug/Omnibus.csproj.GenerateResource.cache and b/obj/Debug/Omnibus.csproj.GenerateResource.cache differ diff --git a/obj/Debug/Omnibus.exe b/obj/Debug/Omnibus.exe index 47e9644..7b30f4a 100644 Binary files a/obj/Debug/Omnibus.exe and b/obj/Debug/Omnibus.exe differ diff --git a/obj/Debug/Omnibus.pdb b/obj/Debug/Omnibus.pdb index 9253fae..f2076a7 100644 Binary files a/obj/Debug/Omnibus.pdb and b/obj/Debug/Omnibus.pdb differ diff --git a/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll index 64640ac..2a97c33 100644 Binary files a/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and b/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ