cloess #30 , this is the best i can do to improve search.
This commit is contained in:
parent
d25690c83b
commit
ce01440ee3
@ -187,7 +187,7 @@ namespace NadekoBot.Classes {
|
||||
var link = $"http://danbooru.donmai.us/posts?" +
|
||||
$"page={rng.Next(0, 15)}";
|
||||
if (!string.IsNullOrWhiteSpace(tag))
|
||||
link += $"&tags={tag.Replace(" ", "_")}";
|
||||
link += $"&tags=order%3Arank+{tag.Replace(" ", "_")}";
|
||||
|
||||
var webpage = await GetResponseStringAsync(link);
|
||||
var matches = Regex.Matches(webpage, "data-large-file-url=\"(?<id>.*?)\"");
|
||||
|
Loading…
Reference in New Issue
Block a user