-
Notifications
You must be signed in to change notification settings - Fork 10
Google Drive downloads broken because of updated API #19
Copy link
Copy link
Open
Description
Hello @PhasecoreX!
First of all, thank you for your awesome work in dockerizing the dedicated servers for UT99 and UT2004!
Today I tried to deploy a UT2004 server using your image and found that the GDrive link always responds with a "this file may contain viruses" banner, and now there's no confirm field in the cookie the server sends to the user. After some digging around I found that the confirm cookie is now always t, but now we also need to send a unique-for-every-request UUID that is contained inside the banner page:
<form id="download-form" action="https://drive.usercontent.google.com/download" method="get">
<input type="submit" id="uc-download-link" class="goog-inline-block jfk-button jfk-button-action" value="Download anyway">
<input type="hidden" name="id" value="XXXX">
<input type="hidden" name="export" value="download">
<input type="hidden" name="confirm" value="t">
<input type="hidden" name="uuid" value="9a863b7f-d1d3-43aa-8b4f-f9352715d79e">
</form>I'm currently trying to come up with a good enough way to parse it and will ping you back if I get any meaningful results.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels