-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from NguyenDanPhuong/develop
Fix batoto, mangafox
- Loading branch information
Showing
49 changed files
with
1,370 additions
and
512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
using System; | ||
using MangaRipper.Core.Extensions; | ||
using MangaRipper.Core.Extensions; | ||
|
||
namespace MangaRipper.Core.Models | ||
{ | ||
public class Chapter | ||
{ | ||
|
||
public string OriginalName { get; } | ||
public int Prefix { get; set; } | ||
|
||
public string Name => Prefix > 0 ? $"[{Prefix:000}] {OriginalName.RemoveFileNameInvalidChar()}" : OriginalName.RemoveFileNameInvalidChar(); | ||
|
||
public string Url { get;} | ||
|
||
public Chapter(string originalName, string url) | ||
{ | ||
OriginalName = originalName; | ||
Url = url; | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.