Update sourcetreeapp-archive.csx

This commit is contained in:
Konstantin Safonov 2021-01-17 04:56:24 +03:00 committed by GitHub
parent db8c7c1248
commit 8063db0bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ System.Console.Out.WriteLine(
await new System.Net.Http.HttpClient()
.GetStringAsync("https://www.sourcetreeapp.com/download-archives")
.ConfigureAwait(false))
.QuerySelectorAll(".wpl tr a")
.QuerySelectorAll(".wpl tr div>a")
.Select(row => new { Version = row.TextContent, ZipUrl = row.GetAttribute("href") })
.ToArray()) + ")"
);