@@ -133,7 +133,7 @@ protected override async Task<IDocument> GetDocumentAsync(SearchResult sr, Searc
133133 }
134134 } ;
135135
136- using var flurlRes = await Client . SendAsync ( req , cancellationToken : token ) ;
136+ using var flurlRes = await Client . SendAsync ( req , cancellationToken : token ) . ConfigureAwait ( false ) ;
137137 using var httpRes = flurlRes . ResponseMessage ;
138138
139139 /*using var flurlRes = await LookupUrl.
@@ -156,7 +156,7 @@ protected override async Task<IDocument> GetDocumentAsync(SearchResult sr, Searc
156156 Debug . Assert ( old == sr . Results [ 0 ] ) ;
157157
158158 // Debug.WriteLine($"{sr.RawUrl}");
159- var content = await httpRes . Content . ReadAsStringAsync ( token ) ;
159+ var content = await httpRes . Content . ReadAsStringAsync ( token ) . ConfigureAwait ( false ) ;
160160
161161 // var content2 = await sr.RawUrl.GetStringAsync(cancellationToken: token);
162162
@@ -169,7 +169,7 @@ protected override async Task<IDocument> GetDocumentAsync(SearchResult sr, Searc
169169 }
170170
171171 var parser = new HtmlParser ( ) ;
172- return await parser . ParseDocumentAsync ( content , token ) ;
172+ return await parser . ParseDocumentAsync ( content , token ) . ConfigureAwait ( false ) ;
173173 }
174174
175175 protected override ValueTask < IList < INode > > GetSource ( IDocument d )
@@ -186,7 +186,7 @@ protected override ValueTask<IList<INode>> GetSource(IDocument d)
186186 return ValueTask . FromResult ( ( IList < INode > ) array ) ;
187187 }
188188
189- protected override async ValueTask < IEnumerable < EhResult > > GetItems ( IList < INode > n , SearchResult r )
189+ protected override ValueTask < IEnumerable < EhResult > > GetItems ( IList < INode > n , SearchResult r )
190190 {
191191 var buf = new List < EhResult > ( n . Count ) ;
192192
@@ -196,7 +196,7 @@ protected override async ValueTask<IEnumerable<EhResult>> GetItems(IList<INode>
196196 buf . Add ( eh ) ;
197197 }
198198
199- return buf ;
199+ return ValueTask . FromResult < IEnumerable < EhResult > > ( buf ) ;
200200 }
201201 /*
202202 * Default result layout is [Compact]
@@ -254,7 +254,7 @@ public async ValueTask<bool> ApplyCookiesAsync(ICookiesSource source, Cancellati
254254 }
255255 }
256256
257- var response = await GetSessionAsync ( ) ;
257+ var response = await GetSessionAsync ( ) . ConfigureAwait ( false ) ;
258258 return IsLoggedIn = response . ResponseMessage . IsSuccessStatusCode ;
259259
260260 return true ;
@@ -290,7 +290,7 @@ public async Task<bool> LoginAsync(string username, string password)
290290 User_Agent = HttpUtilities . UserAgent
291291 } )
292292 . WithCookies ( out var cj )
293- . PostAsync ( content ) ;
293+ . PostAsync ( content ) . ConfigureAwait ( false ) ;
294294
295295 /*foreach (var fc in fcc) {
296296 Cookies.Add(fc.AsCookie());
@@ -301,7 +301,7 @@ public async Task<bool> LoginAsync(string username, string password)
301301 Jar . AddOrReplace ( fc ) ;
302302 }
303303
304- var res2 = await GetSessionAsync ( ) ;
304+ var res2 = await GetSessionAsync ( ) . ConfigureAwait ( false ) ;
305305
306306 return IsLoggedIn = res2 . ResponseMessage . IsSuccessStatusCode ;
307307 }
@@ -492,6 +492,7 @@ public static EhResult ParseResultItem(INode n, SearchResult sr)
492492 var sb = eh . Tags . Select ( t => $ "{ t . Key } : { t . Value . QuickJoin ( ) } ") . QuickJoin ( " | " ) ;
493493
494494 eh . Description = sb ;
495+ eh . Artist = eh . Author ;
495496
496497 /*var gl1c = n.ChildNodes[0];
497498 var gl2c = n.ChildNodes[1];
0 commit comments