Skip to content
Automatically generate description based on resource links from douban,imdb,et al.
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore 🎉 init Jun 30, 2019
.travis.yml revert(travis): f**k,no npm ci exist... Jul 10, 2019
CODE_OF_CONDUCT.md 🎉 init Jun 30, 2019
LICENSE Initial commit Jun 26, 2019
README.md [skip ci] Update README.md Jul 9, 2019
index.js fix(epic): fix data.site typo Jul 23, 2019
package-lock.json Bump lodash from 4.17.11 to 4.17.15 Jul 22, 2019
package.json 增加Steam信息生成 Jul 8, 2019
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.