Closed spijet closed 7 months ago
@PhasecoreX, I just uploaded the simple version of the fix, so the PR is ready to merge. Please squash my commits when merging if possible, so we don't pollute the commit history with a discarded pup
solution. :)
Looks good, thank you very much!
Google Drive now requires the user to send the uniqueuuid
parameter when confirming the "this file is big and may contain viruses" warning. The problem is that this parameter is hidden inside the HTML form present on the warning page, so it has to be parsed out of said page before it can be added to the download URL. This PR adds apup
HTML parser package to the image and uses it to extract all the needed parameters directly from the HTML warning page.Thepup
package itself is small (around 1MiB), so it shouldn't make the image much larger than it was before. In my local tests the image is ~4 MiB larger:Disregard all of the above, we've found a much simpler fix in #19. I just tested it and it works well for me. :)