@@ -51,7 +51,7 @@ public sealed class SauceNaoEngine : BaseSearchEngine, IEndpointEngine, IDisposa
5151
5252 public Url EndpointUrl => URL_API ;
5353
54- public bool UsingAPI => ! string . IsNullOrWhiteSpace ( Authentication ) ;
54+ public bool UsingAPI => ! String . IsNullOrWhiteSpace ( Authentication ) ;
5555
5656 public string Authentication { get ; set ; }
5757
@@ -147,7 +147,7 @@ private async ValueTask GetWebResultsAsync(SearchQuery query, SearchResult sr)
147147 . WithTimeout ( Timeout )
148148 . PostMultipartAsync ( m =>
149149 {
150- m . AddString ( "url" , query . Source . IsUri ? query . Source . ValueString : string . Empty ) ;
150+ m . AddString ( "url" , query . Source . IsUri ? query . Source . ValueString : String . Empty ) ;
151151 string s ;
152152
153153 if ( query . Source . IsUri ) { }
@@ -274,15 +274,15 @@ private async ValueTask GetAPIResultsAsync(SearchQuery url, SearchResult sr)
274274
275275 foreach ( JsonNode t in resultArray ) {
276276 var result = t . AsObject ( ) ;
277- float similarity = float . Parse ( result [ KeySimilarity ] . AsValue ( ) . ToString ( ) ) ;
277+ float similarity = Single . Parse ( result [ KeySimilarity ] . AsValue ( ) . ToString ( ) ) ;
278278
279279 string [ ] strings = result . ContainsKey ( KeyUrls )
280280 ? ( result [ KeyUrls ] as JsonArray ) !
281281 . Select ( j => j . ToString ( ) . CleanString ( ) )
282282 . ToArray ( )
283283 : null ;
284284
285- var index = ( SauceNaoSiteIndex ) int . Parse ( result [ KeyIndex ] . ToString ( ) ) ;
285+ var index = ( SauceNaoSiteIndex ) Int32 . Parse ( result [ KeyIndex ] . ToString ( ) ) ;
286286
287287 foreach ( string t1 in strings ) {
288288 var item = new SearchResultItem ( sr )
@@ -558,7 +558,7 @@ public static SauceNaoDataResult Parse(INode result)
558558 . Where ( c => c is not ( IElement { TagName : "BR" }
559559 or IElement { NodeName : "SPAN" } ) )
560560 . ToArray ( ) ;
561- float similarity = float . Parse ( resultsimilarityinfo . TextContent . Replace ( "%" , string . Empty ) ) ;
561+ float similarity = Single . Parse ( resultsimilarityinfo . TextContent . Replace ( "%" , String . Empty ) ) ;
562562
563563 // var results = new List<SearchResultItem>();
564564 var urls = links . Where ( x =>
0 commit comments