Back to Filecentipede

文件蜈蚣

zh_CN/documentation/create_address.html

2.823.9 KB
Original Source

文件蜈蚣

  • Since 2022

简体中文

English简体中文繁體中文Русский한국어DeutschIndonesiaTurkish

创建地址

Javascript

如果你在运营一个网站

将这段脚本插入你的网页, 或者将脚本代码放置在你的网页中, 但是最好是将脚本放置在你的网页上, 以防止该网站不在线.

下载脚本

用法:

将一个JSON传递给 create_filec_address 函数, JSON 字段见 JSON

create_filec_address({uri:"http://...."});

Sample:

fileu:0eyJ1cmkiOiJodHRwczovL2dpdGh1Yi5jb20vZmlsZWN4eC9GaWxlQ2VudGlwZWRlL3Jhdy9tYWluL3JlbGVhc2UvY2hyb21lLmNyeCJ9

如果你想要向用户隐藏你的真实地址或者给予一些用户下载限制, 你应该使用 '创建地址' 工具从软件里, 它能生成一个加密的地址.

(Javascript无法创建一个加密的地址)

JSON: 添加任务

你能用JSON作为地址来创建一个任务, 但是记住, JSON字符串只能在一行上.

| 键 | 类型 | 描述 | | uri | 字符串 | 地址 |

HTTP / HTTPS / Stream 可选的

| 键 | 类型 | 描述 | | method | 字符串 | GET, POST ... You know the thing | | catalog | 字符串 | 分类 | | page_url | 字符串 | 页面URL | | user_agent | 字符串 | User Agent | | cookies | 字符串 | Cookies | | headers | 字符串 | HTTP Headers | | content_type | 字符串 | Content Type (for HTTP POST) | | data | 字符串 | HTTP request data | | connect_timeout | 数字 | 连接超时 | | max_connections | 数字 | 最大连接 | | max_redirect | 数字 | 最大重定向次数 | | max_retry | 数字 | 最大重试次数 | | file_name | 字符串 | 文件名 | | speed_limit_download | 数字 | 下载速度限制 | | auto_rename_file | bool | 自动重命名文件 | | ignore_remote_modified | 数字 | 忽略远程修改 | | ignore_server_busy | 数字 | 忽略服务器忙 | | ignore_http_error | 数字 | 忽略HTTP错误 |

FTP / FTPS 可选的

| 键 | 类型 | 描述 | | catalog | 字符串 | 分类 | | page_url | 字符串 | 页面URL | | connect_timeout | 数字 | 连接超时 | | max_connections | 数字 | 最大连接 | | max_retry | 数字 | 最大重试次数 | | file_name | 字符串 | 文件名 | | user | 字符串 | 用户 | | pass | 字符串 | 密码 | | speed_limit_download | 数字 | 下载速度限制 | | speed_limit_upload | 数字 | 上传速度限制 | | auto_rename_file | bool | 自动重命名文件 | | ignore_server_busy | 数字 | 忽略服务器忙 |

Magnet / HASH 可选的

| 键 | 类型 | 描述 | | catalog | 字符串 | 分类 | | page_url | 字符串 | 页面URL | | max_connections | 数字 | 最大连接 | | file_name | 字符串 | 文件名 | | speed_limit_download | 数字 | 下载速度限制 | | speed_limit_upload | 数字 | 上传速度限制 | | auto_rename_file | bool | 自动重命名文件 | | seeding_limit_ratio | 数字 | 做种限制, 比例 | | seeding_limit_minutes | 数字 | 做种限制, 分钟 | | seeding_limit_size | 数字 | 做种限制, 大小 | | seeding_limit_act | 数字 | 做种限制, 行为 | | seeding_limit_speed_limit | 数字 | 做种限制, 速度限制 | | seeding_limit_ratio_enable | bool | 做种限制, 比例 启用 | | seeding_limit_minutes_enable | bool | 做种限制, 分钟 启用 | | seeding_limit_size_enable | bool | 做种限制, 大小 启用 | | without_confirm | bool | 无需确认 | | sequential | bool | 顺序下载 |

分享

© 2022 EMAIL: [email protected]