Coder Social home page Coder Social logo

videomanagertools / scraper Goto Github PK

View Code? Open in Web Editor NEW
174.0 5.0 23.0 13.62 MB

A scraper that switches between normal mode and gentleman mode, built on Eletron, React

License: MIT License

TypeScript 88.41% HTML 0.20% JavaScript 8.07% Less 3.32%
scraper nfo movies jav av manager video tool

scraper's Introduction

GitHub package.json version (branch) GitHub Release Date Gitter GitHub All Releases

WorkFlow

注意

这个是媒体元数据管理,推荐和 Jellyfin 配合使用。其他平台尽量兼容。

虽然有绅士模式,但是作者不推荐使用。

食用指南

下载对应平台的安装包,安装,打开。

设置

  1. 预设标签

可以预设标签用于编辑电影自定义标签

  1. 场景

目前有普通和绅士(滑稽),对应了不同的信息源。

设置场景后,会在【检索信息】按钮后显示可用的数据源,可根据需要切换

  1. 代理

部分源可能需要使用代理访问,GTW 没屏蔽,但是不同运营商可能会屏蔽。没有代理的绅士们请自行解决。。

  1. 帧截图

为了方便快速的浏览视频内容,提供了这个功能。依赖 ffmpeg,使用前请确保环境变量可用

建议

第一次使用请先拉出来一个测试用的文件夹,熟悉各个操作的效果后,再大批量操作。数据无价,谨慎操作

开发

git clone https://github.com/videomanagertools/scraper.git
cd scraper
npm i
npm run dev

如果这时候看到一个 Electron 应用已经跑起来了。

如果没有,想想办法解决

如果还是没解决,提 issues,贴上报错信息,可能会得到帮助

后续迭代

因为电影和剧集已经有很多成熟好用的工具,如果没特殊需求,没计划做这两个

已知计划是

  1. 增加音乐信息爬取
  2. 抽出来一个没有 GUI 的 CLI,可以在 NAS 的 docker 中定时跑
  3. 可能会有一个整合的工具,把 Download,Scrape,Move Files 串联起来

交流

Gitter

最后

基本都是我自己平时没解决的痛点,如果刚好可以帮到你,绅士萌,star 后就尽情的享用吧。

Enjoy!

scraper's People

Contributors

fhyoga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

scraper's Issues

roadmap

roadmap

  • 匹配有效番号 (持续优化)
  • 批处理进度 done
  • tree 结构优化 p0 done
  • 抽出进度 modal done
  • 操作反馈 done
  • 搜刮错误标记手动 p0 done
  • 无效路径过滤 done
  • 目录格式化 p0 done
  • 信息回填(需要修改Model结构)
  • 边界处理(持续)
  • 使用 hooks 重写
  • 补全ts类型约束
  • 切换信息源 p1
  • 爬取改为并发
  • proxy代理
  • 打标签
  • 日志
  • 错误任务重试
  • 大量目录下的性能优化
  • 查询,预览,写入,格式化功能分离
  • CI报错

能否加入.nfo自定义格式选项?

使用过程中发现.nfo中标签内定义的封面都是javbus库的图片在线地址,但是削刮的同时把图片都已经下载到本地了。

我的想法是这样的,如果.nfo用的是图片在线地址,就没有必要再把图片下载下来。
既然抓了图片,能否提供一个自定义.nfo格式

/no.-poster.jpg /no.-fanart.jpg

我个人因为使用jellyfin的关系,主页poster要求尺寸一般要手动ps剪切一下,所以倾向于.nfo能自定义到本地地址,那手动修改的工程量就没有那么大了。

谢谢!

image

感谢大佬的工作~~~

感谢大佬的工作~~~
我们的痛点都差不多。。。先Fork了。。。
希望我日后改动的部分能帮你解决一些问题

documention bug


git clone https://github.com/videomanagertools/scraper.git
cd scraper
npm i
npm run dev

is wrong!

npm run start

at package.json's script

installation error under manjaro platform

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/aiyolo/.npm/_logs/2019-09-27T16_32_17_845Z-debug.log

有软件包吗

Describe the bug
A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Scene: [Package or Dev]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.