xfoxfu / ZhuiAni.me

A platform for scraping, subscribing, downloading and watching animations based on torrents.
MIT License
2 stars 2 forks source link

manual metadata scraping #7

Closed xfoxfu closed 2 months ago

xfoxfu commented 1 year ago

This feature is about supporting manually provide a list of files, and automatically generate related items & links.

For example, the user would provide a folder in PikPak like

/AnimeLive/[*****] Summer Time Render [WebRip 1080p HEVC-10bit AAC ASSx2]
[*****] Summer Time Render - 01 [WebRip 1080p HEVC-10bit AAC ASSx2].mkv
[*****] Summer Time Render - 02 [WebRip 1080p HEVC-10bit AAC ASSx2].mkv
[*****] Summer Time Render - 03 [WebRip 1080p HEVC-10bit AAC ASSx2].mkv
[*****] Summer Time Render - 04 [WebRip 1080p HEVC-10bit AAC ASSx2].mkv
[*****] Summer Time Render - 05 [WebRip 1080p HEVC-10bit AAC ASSx2].mkv

, a regular expression for matching titles, like Summer Time Render - (\d+) \[WebRip and the bangumi ID 326895. Then ZhuiAnime will automatically generate items corresponding to the anime and each episode, along with the links to these video files.