mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
anilibria: fix cs
This commit is contained in:
@@ -94,7 +94,7 @@ namespace Jackett.Common.Indexers.Definitions
|
||||
var searchResponse = await RequestWithCookiesAsync($"{ApiBase}app/search/releases?query={searchQuery}");
|
||||
var searchResults = JsonConvert.DeserializeObject<IReadOnlyList<AnilibriaSearchResult>>(searchResponse.ContentString);
|
||||
|
||||
var releaseIds = searchResults.Where(r => r.Id.HasValue).Select(r => r.Id.Value).ToList();
|
||||
var releaseIds = searchResults.Where(r => r.Id.HasValue).Select(r => r.Id.Value).ToList();
|
||||
|
||||
var addRusTag = ConfigData.AddRussianToTitle.Value ? " RUS" : string.Empty;
|
||||
|
||||
|
@@ -208,7 +208,8 @@ namespace Jackett.Common.Utils
|
||||
{
|
||||
yield return index;
|
||||
index = source.IndexOf(value, index + 1);
|
||||
};
|
||||
}
|
||||
;
|
||||
}
|
||||
|
||||
public static IEnumerable<int> AllIndexesOf(this string source, string value)
|
||||
@@ -218,7 +219,8 @@ namespace Jackett.Common.Utils
|
||||
{
|
||||
yield return index;
|
||||
index = source.IndexOf(value, index + value.Length);
|
||||
};
|
||||
}
|
||||
;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user