Skip to content

Commit 8d67ea9

Browse files
committed
Updated to v2.0.4
1 parent 22fd5f3 commit 8d67ea9

File tree

4 files changed

+181
-76
lines changed

4 files changed

+181
-76
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,39 @@ If you have any questions and commissions for me, feel free to tell me.
374374

375375
1. Modified go.mod and go.sum.
376376

377+
<a name="v203"></a>
378+
377379
- v2.0.3 (April 5, 2023)
378380

379381
1. Forgot to update the version number and modified it. And, built the sources with the latest version. [Ref](https://github.com/tanaikech/goodls/releases/tag/v2.0.3)
380382

383+
<a name="v204"></a>
384+
385+
- v2.0.4 (March 9, 2023)
386+
387+
1. From January 2024, it seems that the specification of the process for downloading a large shared file on Google Drive has been changed. So I updated goodls to reflect this. The usage of goodls has not changed. In the current stage, when a large share file is downloaded, it is required to click the following button.
388+
389+
```html
390+
<form
391+
id="download-form"
392+
action="https://drive.usercontent.google.com/download"
393+
method="get"
394+
>
395+
<input
396+
type="submit"
397+
id="uc-download-link"
398+
class="goog-inline-block jfk-button jfk-button-action"
399+
value="このままダウンロード"
400+
/>
401+
<input type="hidden" name="id" value="fileId" />
402+
<input type="hidden" name="export" value="download" />
403+
<input type="hidden" name="authuser" value="0" />
404+
<input type="hidden" name="confirm" value="t" />
405+
<input type="hidden" name="uuid" value="uuId" />
406+
<input type="hidden" name="at" value="some value" />
407+
</form>
408+
```
409+
410+
In this version, the URL obtained by this click is created, and the created URL is used for downloading it.
411+
381412
[TOP](#top)

go.mod

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,42 @@
11
module goodls
22

3-
go 1.21.3
3+
go 1.22.1
44

55
require (
6+
github.com/PuerkitoBio/goquery v1.9.1
67
github.com/tanaikech/go-getfilelist v2.0.0+incompatible
78
github.com/urfave/cli v1.22.14
8-
golang.org/x/term v0.13.0
9-
google.golang.org/api v0.148.0
9+
golang.org/x/term v0.18.0
10+
google.golang.org/api v0.169.0
1011
)
1112

1213
require (
13-
cloud.google.com/go/compute v1.23.0 // indirect
14+
cloud.google.com/go/compute v1.23.4 // indirect
1415
cloud.google.com/go/compute/metadata v0.2.3 // indirect
16+
github.com/andybalholm/cascadia v1.3.2 // indirect
1517
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
18+
github.com/felixge/httpsnoop v1.0.4 // indirect
19+
github.com/go-logr/logr v1.4.1 // indirect
20+
github.com/go-logr/stdr v1.2.2 // indirect
1621
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
1722
github.com/golang/protobuf v1.5.3 // indirect
1823
github.com/google/s2a-go v0.1.7 // indirect
19-
github.com/google/uuid v1.3.1 // indirect
20-
github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect
21-
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
24+
github.com/google/uuid v1.6.0 // indirect
25+
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
26+
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
2227
github.com/russross/blackfriday/v2 v2.1.0 // indirect
2328
go.opencensus.io v0.24.0 // indirect
24-
golang.org/x/crypto v0.14.0 // indirect
25-
golang.org/x/net v0.17.0 // indirect
26-
golang.org/x/oauth2 v0.13.0 // indirect
27-
golang.org/x/sys v0.13.0 // indirect
28-
golang.org/x/text v0.13.0 // indirect
29-
google.golang.org/appengine v1.6.7 // indirect
30-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
31-
google.golang.org/grpc v1.58.3 // indirect
32-
google.golang.org/protobuf v1.31.0 // indirect
29+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
30+
go.opentelemetry.io/otel v1.24.0 // indirect
31+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
32+
go.opentelemetry.io/otel/trace v1.24.0 // indirect
33+
golang.org/x/crypto v0.19.0 // indirect
34+
golang.org/x/net v0.21.0 // indirect
35+
golang.org/x/oauth2 v0.17.0 // indirect
36+
golang.org/x/sys v0.18.0 // indirect
37+
golang.org/x/text v0.14.0 // indirect
38+
google.golang.org/appengine v1.6.8 // indirect
39+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 // indirect
40+
google.golang.org/grpc v1.62.0 // indirect
41+
google.golang.org/protobuf v1.32.0 // indirect
3342
)

0 commit comments

Comments
 (0)