Skip to content

Commit b725ee9

Browse files
anwen-anyixhofe
andauthored
update Google Photos (#156)
* add webdav and add user introduce * fix google driver Docs * add qb-dw man * fix google photos and other * use scoped to fix style * fix qB Docs * add ipa install demo * fix ipa docs * add baidu How to modify ua * revert * Compatibility with Google Photos Docs,update baidu Demo --------- Co-authored-by: Andy Hsu <[email protected]>
1 parent eb1292f commit b725ee9

File tree

8 files changed

+83
-20
lines changed

8 files changed

+83
-20
lines changed
25.3 KB
Loading
62.3 KB
Loading

docs/guide/drivers/baidu.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ The root foler to mount, defaults to `/`, same as local storage.
3939

4040

4141

42-
::: details If you don't know how to set **`"User-Agent"`** see here
42+
### Add "User-Agent" usage example
43+
44+
:::: details If you don't know how to set **`"User-Agent"`** see here
4345

4446
==The following methods are limited to Baidu super member users==
4547

@@ -49,18 +51,27 @@ It will only be useful if a member finishes modifying **`"User-Agent"`** (choose
4951

5052
If you don’t change **`"User-Agent"`**, you can enable ==Web Agent==, the disadvantage is that you need to build an Alist machine for transfer, that is to say, you need a large broadband to help you transfer
5153

52-
#### Method 1 - Using a browser plugin
5354

54-
If you really don’t know how to do it, you can take a look at an example on the Web page: **https://www.bilibili.com/video/BV1UA4y1X7J8**
55+
56+
:::tabs#ua
57+
58+
@tab Web plugin
59+
60+
- The advantage of using a browser plug-in to modify is that it can be played directly online, of course, downloading is also possible.
5561

5662
![alist](/img/drivers/baidu/bdUA.png)
5763

58-
#### Method 2 - Using IDM - Internet Download Manager
64+
@tab IDM
5965

6066
![alist](/img/drivers/baidu/idm-ua.png)
6167

62-
#### Method 3 - Using Aria2
68+
@tab Aria2
6369

6470
![alist](/img/drivers/baidu/aria2-ua.png)
6571

66-
:::
72+
:::
73+
74+
75+
76+
::::
77+

docs/guide/drivers/common.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ The workers code can be found at https://github.com/alist-org/alist-proxy/blob/m
7979
- ADDRESS: your Alist address, The protocol header must be added, and cannot be followed by /. Such as `https://pan.nn.ci`;
8080
- TOKEN: you can get in `Other settings` in your Alist manage page.
8181

82-
8382
:warning: Cloudflare Workers free CDN supports domestic only **http80 port** and **https443 port**,From group friend test
8483

84+
- When mounting the configuration in the Alist background, fill in the **download proxy URL** at the end of the link without `/`
85+
8586
@tab Universal Binary
8687
You can also use another machine for proxying, download the program at https://github.com/alist-org/alist-proxy/releases
8788

docs/guide/drivers/googlephotos.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ star: true
1818

1919
# Google Photos
2020

21-
### Root folder file_id
21+
## Root folder file_id
2222

2323
The root directory is root, and other directory IDs are unknown (~~It seems that a separate album cannot be mounted~~ It has not been resolved yet [**Reference**](https://github.com/alist-org/alist/discussions/3264#discussioncomment-4874536))
2424

25-
### Get client_id, client_secret
25+
26+
27+
## Get client_id, client_secret
2628

2729
Get the tool https://alist.nn.ci/tool/google/request
2830

@@ -48,7 +50,24 @@ Remember to enable **`Photos Library API`**
4850

4951
- https://console.cloud.google.com/apis/library/photoslibrary.googleapis.com
5052

51-
### Two notes:
53+
54+
55+
## Mount a single album directory
56+
57+
According to [above](https://alist.nn.ci/tool/google/request) obtained **client ID** and **secret key** and **refresh_token**
58+
59+
We fill in **https://alist.nn.ci/tool/google/album** to get a single catalog ID for each of our Google Photos
60+
61+
- Root file ID (that is, the album ID): default root, display all, if you only want to display a single album, you can fill in the album ID you want to display
62+
- After we fill in, there will also be an **`access_token`** below. This can also be filled in the Alist background refresh token option and used. The refresh token obtained at the beginning can be used for both of them- [Explanation]( https://github.com/alist-org/alist/discussions/3264#discussioncomment-5051171)
63+
64+
#### Fill in the example diagram
65+
66+
![Googlephotos](/img/drivers/google/Google-photos3.png)#get-client-id-client-secret)
67+
68+
69+
70+
## Two notes:
5271

5372
1. failed get objs: failed to list objs: Request had insufficient authentication scopes.: []
5473
- It's because you didn't check the album permission (see the picture mentioned above) `view and organize the content in your Google Photos media library, and upload content to the media library when obtaining authorization. Learn more`

docs/zh/guide/drivers/baidu.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,41 @@ curl -L -X GET 'YOUR_LINK' -H 'User-Agent:pan.baidu.com'
4646

4747

4848

49-
::: details 如果你不会设置 **`"User-Agent"`** 请看这里
49+
### 添加 "User-Agent" 使用示例
50+
51+
:::: details 如果你不会设置 "User-Agent" 请看这里
5052

5153
==以下方法仅限于有百度超级会员用户使用==
5254

5355
==再次提示 以下方法仅限于有百度超级会员用户使用==
5456

5557
有会员改完 **`"User-Agent"`** 才会有用(选择官方和302)
5658

57-
如果不改**`"User-Agent"`**,可以开启 ==Web代理==,缺点是需要你搭建Alist的机器中转,也就是说你需要大宽带帮你中转
59+
如果不改 **`"User-Agent"`**,可以开启 ==Web代理==,缺点是需要你搭建Alist的机器中转,也就是说你需要大宽带帮你中转
60+
61+
62+
63+
:::tabs#ua
5864

59-
#### 方法1 - 使用浏览器插件
65+
@tab 网页插件
66+
67+
- 使用浏览器插件修改的好处是 可以直接在线播放,当然了下载也是可以的。
6068

6169
实在不会的可以看看一个Web网页端的例子: **https://www.bilibili.com/video/BV1UA4y1X7J8**
6270

6371
![alist](/img/drivers/baidu/bdUA.png)
6472

65-
#### 方法2 - 使用IDM - Internet Download Manager
73+
@tab IDM
6674

6775
![alist](/img/drivers/baidu/idm-ua.png)
6876

69-
#### 方法3 - 使用Aria2
77+
@tab Aria2
7078

7179
![alist](/img/drivers/baidu/aria2-ua.png)
7280

7381
:::
7482

83+
84+
85+
::::
86+

docs/zh/guide/drivers/common.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ Workers 代码可以在 https://github.com/alist-org/alist-proxy/blob/main/alist
8181
- ADDRESS: 你的 AList 地址,必须加上协议头,后面不能跟 `/`。如 `https://pan.nn.ci`
8282
- TOKEN: 在 AList 管理页面中进入“其他设置”得到。
8383

84-
8584
:warning: Cloudflare Workers 免费CDN支持兼容国内的只有 **http80端口****https443端口**,来自群友测试
8685

86+
- 在Alist后台挂载配置时 填写 **下载代理URL** 时候的 链接结尾 不可以带 `/`
87+
8788

8889
@tab 通用二进制
8990
也可以使用另一台机器进行代理,在 https://github.com/alist-org/alist-proxy/releases 下载程序并通过 `./alist-proxy -help` 查看使用方法。

docs/zh/guide/drivers/googlephotos.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ star: true
1818

1919
# 谷歌相册
2020

21-
### 根目录ID
21+
## 根目录ID
2222

23-
根目录root,其他目录ID未知( ~~貌似不能挂载单独的相册~~ 还未解决[**参考**](https://github.com/alist-org/alist/discussions/3264#discussioncomment-4874536))
23+
根目录root,其他目录ID未知( ~~貌似不能挂载单独的相册~~ 已解决下面有介绍)
2424

25-
### 获取 client_id, client_secret
25+
26+
27+
## 获取 client_id, client_secret
2628

2729
获取工具 https://alist.nn.ci/tool/google/request
2830

@@ -48,7 +50,24 @@ star: true
4850

4951
- **https://console.cloud.google.com/apis/library/photoslibrary.googleapis.com?project=instant-shard-350513**
5052

51-
### 两个注意事项:
53+
54+
55+
## 挂载单个相册目录
56+
57+
根据[上面](https://alist.nn.ci/tool/google/request)获取到的**客户端ID****秘钥****刷新令牌**
58+
59+
我们填写到 **https://alist.nn.ci/tool/google/album** 即可获取我们每个相册的单个目录ID
60+
61+
- 根文件ID(就是相册ID):默认root,展示全部,若只想展示单个相册,可以填写你想展示的相册ID
62+
- 在我们填写后下方也会出现一个 **`access_token`** 这个也可以填写到刷新令牌里面前使用和之前获取到的,这两个都可以用 - [解释](https://github.com/alist-org/alist/discussions/3264#discussioncomment-5051171)
63+
64+
#### 填写示意图
65+
66+
![Googlephotos](/img/drivers/google/Google-photos3.png)
67+
68+
69+
70+
## 两个注意事项:
5271

5372
1. failed get objs: failed to list objs: Request had insufficient authentication scopes.: []
5473
- 是因为在获取授权的时候没有勾选 相册权限(查看上面提到的图片) `查看和整理您的Google相册媒体库中的内容,向媒体库上传内容。`

0 commit comments

Comments
 (0)