├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ └── node.js.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── LICENSE ├── README.md ├── api ├── bdstoken.txt ├── create-dir.txt ├── filemanager-copy.txt ├── filemanager-delete.txt ├── filemanager-move.txt ├── list-all.txt ├── list-folder.txt ├── quota.txt ├── recycle-list.txt ├── search.txt ├── taskquery-copy.txt ├── taskquery-delete.txt └── taskquery-move.txt ├── cli ├── parse-cookie-save.d.ts ├── parse-cookie-save.ts ├── save-cookie.d.ts └── save-cookie.ts ├── lib ├── PANENV.ts ├── errno.ts ├── fatalerrorcheck.ts ├── fetch-delete-files.ts ├── fetch-task-query-delete.ts ├── fetchdeletetaskid.ts ├── fetchlistdir.ts ├── files.ts ├── generatelogid.ts ├── gethomehtmlandupdatecookie.ts ├── index.ts ├── init.ts ├── limitfetch.ts ├── listdirpage.ts ├── objtostrcookie.ts ├── response-error-handler.ts ├── savecookies.ts ├── schemadir.ts ├── schemafile.ts └── taskquerydeleteonce.ts ├── package.json ├── rollup.config.mjs ├── sshot-2020-02-26-[13-50-52].png ├── test ├── index.d.ts ├── index.js.map ├── index.ts ├── initENV.d.ts ├── initENV.ts ├── list-dir.d.ts ├── list-dir.ts ├── query-task.d.ts ├── query-task.ts ├── test-delete.d.ts ├── test-delete.ts ├── update-cookie.d.ts └── update-cookie.ts └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { "tabWidth": 4, "arrowParens": "always" } 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/README.md -------------------------------------------------------------------------------- /api/bdstoken.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/bdstoken.txt -------------------------------------------------------------------------------- /api/create-dir.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/create-dir.txt -------------------------------------------------------------------------------- /api/filemanager-copy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/filemanager-copy.txt -------------------------------------------------------------------------------- /api/filemanager-delete.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/filemanager-delete.txt -------------------------------------------------------------------------------- /api/filemanager-move.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/filemanager-move.txt -------------------------------------------------------------------------------- /api/list-all.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/list-all.txt -------------------------------------------------------------------------------- /api/list-folder.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/list-folder.txt -------------------------------------------------------------------------------- /api/quota.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/quota.txt -------------------------------------------------------------------------------- /api/recycle-list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/recycle-list.txt -------------------------------------------------------------------------------- /api/search.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/search.txt -------------------------------------------------------------------------------- /api/taskquery-copy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/taskquery-copy.txt -------------------------------------------------------------------------------- /api/taskquery-delete.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/taskquery-delete.txt -------------------------------------------------------------------------------- /api/taskquery-move.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/api/taskquery-move.txt -------------------------------------------------------------------------------- /cli/parse-cookie-save.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/cli/parse-cookie-save.d.ts -------------------------------------------------------------------------------- /cli/parse-cookie-save.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/cli/parse-cookie-save.ts -------------------------------------------------------------------------------- /cli/save-cookie.d.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | export {}; 3 | -------------------------------------------------------------------------------- /cli/save-cookie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/cli/save-cookie.ts -------------------------------------------------------------------------------- /lib/PANENV.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/PANENV.ts -------------------------------------------------------------------------------- /lib/errno.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/errno.ts -------------------------------------------------------------------------------- /lib/fatalerrorcheck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/fatalerrorcheck.ts -------------------------------------------------------------------------------- /lib/fetch-delete-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/fetch-delete-files.ts -------------------------------------------------------------------------------- /lib/fetch-task-query-delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/fetch-task-query-delete.ts -------------------------------------------------------------------------------- /lib/fetchdeletetaskid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/fetchdeletetaskid.ts -------------------------------------------------------------------------------- /lib/fetchlistdir.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/fetchlistdir.ts -------------------------------------------------------------------------------- /lib/files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/files.ts -------------------------------------------------------------------------------- /lib/generatelogid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/generatelogid.ts -------------------------------------------------------------------------------- /lib/gethomehtmlandupdatecookie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/gethomehtmlandupdatecookie.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/index.ts -------------------------------------------------------------------------------- /lib/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/init.ts -------------------------------------------------------------------------------- /lib/limitfetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/limitfetch.ts -------------------------------------------------------------------------------- /lib/listdirpage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/listdirpage.ts -------------------------------------------------------------------------------- /lib/objtostrcookie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/objtostrcookie.ts -------------------------------------------------------------------------------- /lib/response-error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/response-error-handler.ts -------------------------------------------------------------------------------- /lib/savecookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/savecookies.ts -------------------------------------------------------------------------------- /lib/schemadir.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/schemadir.ts -------------------------------------------------------------------------------- /lib/schemafile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/schemafile.ts -------------------------------------------------------------------------------- /lib/taskquerydeleteonce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/lib/taskquerydeleteonce.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /sshot-2020-02-26-[13-50-52].png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/sshot-2020-02-26-[13-50-52].png -------------------------------------------------------------------------------- /test/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/index.js.map -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/index.ts -------------------------------------------------------------------------------- /test/initENV.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/initENV.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/initENV.ts -------------------------------------------------------------------------------- /test/list-dir.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/list-dir.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/list-dir.ts -------------------------------------------------------------------------------- /test/query-task.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/query-task.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/query-task.ts -------------------------------------------------------------------------------- /test/test-delete.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/test-delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/test-delete.ts -------------------------------------------------------------------------------- /test/update-cookie.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/update-cookie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/test/update-cookie.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masx200/fetch-baidu-pan-files-api/HEAD/tsconfig.json --------------------------------------------------------------------------------