mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixe broken LL url detecting
This commit is contained in:
parent
638838d7a5
commit
6ad8baefb3
@ -26,7 +26,7 @@ namespace Wabbajack.Lib.Downloaders
|
||||
{
|
||||
|
||||
Uri url = DownloaderUtils.GetDirectURL(archive_ini);
|
||||
if (url == null || url.Host != "www.loverslab.com" && url.AbsolutePath.StartsWith("/files/file/")) return null;
|
||||
if (url == null || url.Host != "www.loverslab.com" || !url.AbsolutePath.StartsWith("/files/file/")) return null;
|
||||
var id = HttpUtility.ParseQueryString(url.Query)["r"];
|
||||
var file = url.AbsolutePath.Split('/').Last(s => s != "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user