Compare commits
3 Commits
feature/FA
...
v1.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
| ac48889f4c | |||
| 16004ad938 | |||
| 89dff0980b |
@@ -25,6 +25,8 @@ public class Program
|
|||||||
.ConfigureFromFile("gateway.fgp")
|
.ConfigureFromFile("gateway.fgp")
|
||||||
.CoreBuilder.ApplySaneDefaults();
|
.CoreBuilder.ApplySaneDefaults();
|
||||||
|
|
||||||
|
builder.Services.AddOidcAuthentication(builder.Configuration);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
var allowedOrigin = builder.Configuration["Cors:AllowedOrigin"] ?? "http://localhost:4321";
|
var allowedOrigin = builder.Configuration["Cors:AllowedOrigin"] ?? "http://localhost:4321";
|
||||||
|
|||||||
@@ -137,9 +137,11 @@ public class NovelpiaAdapter : ISourceAdapter
|
|||||||
uint page = 0;
|
uint page = 0;
|
||||||
List<ChapterMetadata> chapters = new List<ChapterMetadata>();
|
List<ChapterMetadata> chapters = new List<ChapterMetadata>();
|
||||||
List<uint> seenChapterIds = new List<uint>();
|
List<uint> seenChapterIds = new List<uint>();
|
||||||
uint chapterOrder = 1;
|
uint chapterOrder = 0;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
|
await Task.Delay(500);
|
||||||
|
_logger.LogInformation("Next chapter batch");
|
||||||
var response = await _httpClient.PostAsync(EpisodeListEndpoint, new FormUrlEncodedContent(new Dictionary<string, string>
|
var response = await _httpClient.PostAsync(EpisodeListEndpoint, new FormUrlEncodedContent(new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{"novel_no", novelId.ToString()},
|
{"novel_no", novelId.ToString()},
|
||||||
|
|||||||
Reference in New Issue
Block a user