8000 GitHub - ourbits/PtGen: The static export of the PtGen Database.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ourbits/PtGen

Repository files navigation

PtGen Archive

The static export of the PtGen Database.

If you want to use all archive for other purposes, We recommend you use Download ZIP feature or git clone command to Download It.

All data comes from the Internet and is for learning purposes only!

Update Status

  • Last update at: 2025-05-23 23:01:09 (CET, UTC+01:00)
  • Last data summary:
Source Site Count
douban 301199
douban_celebrity 262075
imdb 154905
bangumi 8463
steam 1417
indienova 150
epic 13

Usage

  1. You can use this repo by access the following link:

    Provider Status Link Format Note
    Github Pages Github Pages https://ourbits.github.io/PtGen/<site>/<sid>.json Static
    Ourhelp CDN Ourhelp CDN https://cdn.ourhelp.club/ptgen/<site>/<sid>.json Static, Selfhosted
    Ourhelp API Ourhelp API https://api.ourhelp.club/infogen?site=<site>&sid=<sid> Dynamic, CORS, Ratelimit
    Vercel Vercel https://pt-gen.vercel.app/<site>/<sid>.json Static
    Netlify Netlify Status https://pt-gen.netlify.app/<site>/<sid>.json Static
    • Build Workflow: Ourhelp API -> static export -> Ourhelp CDN -> git push -> Github Pages -> sync -> Vercel, Netlify
  2. The site and sid items in Link Format follow the description in the table below:

    Site Link Regexp Note
    douban (https?://)?((movie|www)\.)?douban\.com/(subject|movie)/(?P<sid>\d+)/?
    douban_celebrity (https?://)?movie\.douban\.com/celebrity/(?P<sid>\d+)/?
    douban_personage (https?://)?www\.douban\.com/personage/(?P<sid>\d+)/? Ourhelp API Only
    imdb (https?://)?www\.imdb\.com/title/(?P<sid>tt\d+)
    bangumi (https?://)?(bgm\.tv|bangumi\.tv|chii\.in)/subject/(?P<sid>\d+)/?
    steam (https?://)?(store\.)?steam(powered|community)\.com/app/(?P<sid>\d+)/?
    indienova (https?://)?indienova\.com/game/(?P<sid>\S+)
    epic (https?://)?www\.epicgames\.com/store/[a-zA-Z-]+/product/(?P<sid>\S+)/\S?
    • For douban_personage, Ourhelp API only supports which created from douban_celebrity and cached in database.
  3. The exported JSON format content is basically the same as that provided by the Ourhelp API (documentation).

    • The fields such as success, error, copyright, version, format are not provided in the exported file.
    • The value format of some fields may vary in the export, This is mainly due to the update of PtGen Scrape and outdated crawling cache.
  4. If there is no corresponding site data in current static export, you may try to access the Ourhelp API as fallback to auto-generate it.

  5. Additional internal maps are provided only in internal_map folder.

    [
      {
        "cid": 1000167,                        // for link: https://movie.douban.com/celebrity/{cid}/
        "pid": 27205857,                       // for link: https://www.douban.com/personage/{pid}/
        "imdb_id": "nm0781238",                // for link: https://www.imdb.com/name/{imdb_id}/
        "name": "艾米·塞德丽丝 Amy Sedaris"    // quick note of 'name' for this map
      },
    ]
    [
      {
        "dbid": 10000796,                     // for link: https://movie.douban.com/subject/{dbid}/
        "imdbid": "tt1247209",                // for link: https://www.imdb.com/title/{imdbid}/
        "name": "Hola?",                      // quick note of 'name' for this map
        "year": "2008"                        // quick note of 'year' for this map
      },
    ]

Other Recommendations

About

The static export of the PtGen Database.

Topics

Resources

License

Stars

Watchers

Forks

0