Skip to content
Automatically generate description based on resource links from douban,imdb,et al.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
LICENSE Initial commit Jun 26, 2019
README.md
index.html
index.js fix: 增加更多CORS选项 Sep 28, 2019
package-lock.json Bump lodash from 4.17.11 to 4.17.15 Jul 22, 2019
package.json
wrangler.toml.sample 添加travis自动构建 Jul 9, 2019

README.md

PT-Gen on Cloudflare Worker

FOSSA Status

基于 BFDZ/Pt-Gen v0.4.7 改写, 使之可以直接在Cloudflare Worker上使用。

如果你没有构造环境,请直接复制使用 build分支 下的 script.js 文件。

否则请参照 .Travis.yml 文件构造方法,直接使用wrangler搭建Cloudflare-Worker。

支持资源链接

资源来源 链接格式(Regexp)
douban /(?:https?:\/\/)?(?:(?:movie|www)\.)?douban\.com\/(?:subject|movie)\/(\d+)\/?/
imdb /(?:https?:\/\/)?(?:www\.)?imdb\.com\/title\/(tt\d+)\/?/
bangumi /(?:https?:\/\/)?(?:bgm\.tv|bangumi\.tv|chii\.in)\/subject\/(\d+)\/?/
steam /(?:https?:\/\/)?(?:store\.)?steam(?:powered|community)\.com\/app\/(\d+)\/?/
indienova /(?:https?:\/\/)?indienova\.com\/game\/(\S+)/
epic /(?:https?:\/\/)?www\.epicgames\.com\/store\/[a-z]{2}-[A-Z]{2}\/product\/(\S+)\/\S?/

License

FOSSA Status

You can’t perform that action at this time.