Fixed mediafire downloader never resolving the url

This commit is contained in:
erri120 2020-04-27 20:46:47 +02:00
parent 16c27690cb
commit a5843e12fa
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -52,7 +52,7 @@ namespace Wabbajack.Lib.Downloaders
{
using (var d = await Driver.Create())
{
await d.NavigateTo(new Uri("http://www.mediafire.com/file/agiqzm1xwebczpx/WABBAJACK_TEST_FILE.tx"));
await d.NavigateTo(new Uri(Url));
// MediaFire creates the link after all the JS loads
await Task.Delay(1000);
var newURL = await d.GetAttr("a.input", "href");