Compare commits

..

No commits in common. "cf6fc3b8f62bcb9f9b885ec3636b4d1842286901" and "5c753e7a7d77433984dee4ee3c2e99b1b6c365fc" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -74,7 +74,6 @@ That is why I wanted to create my own project, in a language I understand, and t
- .NET-Core - .NET-Core
- Newtonsoft.JSON - Newtonsoft.JSON
- [PuppeteerSharp](https://www.puppeteersharp.com/) - [PuppeteerSharp](https://www.puppeteersharp.com/)
- [Html Agility Pack (HAP)](https://html-agility-pack.net/)
- Love <3 Blåhaj 🦈 - Love <3 Blåhaj 🦈
<p align="right">(<a href="#readme-top">back to top</a>)</p> <p align="right">(<a href="#readme-top">back to top</a>)</p>

View File

@ -37,7 +37,7 @@ public class Mangasee : Connector
{ {
logger?.WriteLine(this.GetType().ToString(), "Downloading headless browser"); logger?.WriteLine(this.GetType().ToString(), "Downloading headless browser");
DateTime last = DateTime.Now.Subtract(TimeSpan.FromSeconds(5)); DateTime last = DateTime.Now.Subtract(TimeSpan.FromSeconds(5));
browserFetcher.DownloadProgressChanged += (sender, args) => browserFetcher.DownloadProgressChanged += async (sender, args) =>
{ {
double currentBytes = Convert.ToDouble(args.BytesReceived) / Convert.ToDouble(args.TotalBytesToReceive); double currentBytes = Convert.ToDouble(args.BytesReceived) / Convert.ToDouble(args.TotalBytesToReceive);
if (args.TotalBytesToReceive == args.BytesReceived) if (args.TotalBytesToReceive == args.BytesReceived)
@ -174,14 +174,11 @@ public class Mangasee : Connector
year, originalLanguage, status, publicationId); year, originalLanguage, status, publicationId);
} }
// ReSharper disable once ClassNeverInstantiated.Local Will be instantiated during deserialization
private class SearchResultItem private class SearchResultItem
{ {
#pragma warning disable CS8618 //Will always be set
public string i { get; set; } public string i { get; set; }
public string s { get; set; } public string s { get; set; }
public string[] a { get; set; } public string[] a { get; set; }
#pragma warning restore CS8618
} }
public override Chapter[] GetChapters(Publication publication, string language = "") public override Chapter[] GetChapters(Publication publication, string language = "")