Compare commits
2 Commits
5c753e7a7d
...
cf6fc3b8f6
Author | SHA1 | Date | |
---|---|---|---|
cf6fc3b8f6 | |||
f5141d0f8e |
@ -74,6 +74,7 @@ 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>
|
||||||
|
@ -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 += async (sender, args) =>
|
browserFetcher.DownloadProgressChanged += (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,11 +174,14 @@ 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 = "")
|
||||||
|
Loading…
Reference in New Issue
Block a user