Coder Social home page Coder Social logo

avmeta's People

Contributors

ylqjgm avatar yuansongming 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

avmeta's Issues

nfo转换失败

操作系统:centos 7
Go版本: 1.16
使用预编译版本
AVMeta版本: v1.0.3发行版

共探索到 0 个 nfo 文件
image

文件名下划线后不足三位数字提示:panic: runtime error: invalid memory address or nil pointer dereference

操作系统: Windows 10 x64
Go版本: 1.14.1
AVMeta版本: v1.0.1
配置信息:自动生成的默认配置
错误信息:
文件: [010915_01.mp4] 刮削失败, 错误原因: panic: runtime error: invalid memory address or nil pointer dereference

复现过程:
010915_01.mp4手动补足010915_001.mp4则不会报错

D:\test>DIR
 驱动器 D 中的卷没有标签。
 卷的序列号是 2453-EA28

 D:\test 的目录

2020/06/17  23:25    <DIR>          .
2020/06/17  23:25    <DIR>          ..
2019/10/28  22:51     1,073,741,824 010915_01.mp4
2020/03/29  21:40        11,090,944 AVMeta.exe
               2 个文件  1,084,832,768 字节
               2 个目录 318,827,421,696 可用字节

D:\test>AVMeta.exe

共探索到 1 个视频文件, 开始刮削整理...

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x8cb8ff]

goroutine 6 [running]:
github.com/ylqjgm/AVMeta/pkg/scraper.(*DMMScraper).GetActors(0xc000054c30, 0xc0000021e0)
        /home/runner/work/AVMeta/AVMeta/pkg/scraper/dmm.go:186 +0x3f
github.com/ylqjgm/AVMeta/pkg/media.ParseMedia(0xaba420, 0xc000054c30, 0x0, 0x0, 0x0)
        /home/runner/work/AVMeta/AVMeta/pkg/media/media.go:72 +0x79
github.com/ylqjgm/AVMeta/pkg/media.search(0xc000195380, 0x15, 0xc00019a000, 0x0, 0x0, 0x0)
        /home/runner/work/AVMeta/AVMeta/pkg/media/pack.go:262 +0xa0d
github.com/ylqjgm/AVMeta/pkg/media.capture(0xc000195380, 0x15, 0xc00019a000, 0x0, 0x0, 0x0)
        /home/runner/work/AVMeta/AVMeta/pkg/media/pack.go:120 +0x61
github.com/ylqjgm/AVMeta/pkg/media.packNfo(0xc000195380, 0x15, 0xc00019a000, 0x0, 0x0, 0x0)
        /home/runner/work/AVMeta/AVMeta/pkg/media/pack.go:43 +0x61
github.com/ylqjgm/AVMeta/pkg/media.Pack(0xc000195380, 0x15, 0xc00019a000, 0x0, 0x0, 0x0)
        /home/runner/work/AVMeta/AVMeta/pkg/media/pack.go:33 +0x65
github.com/ylqjgm/AVMeta/pkg/cmd.(*Executor).packProcess(0xc000052660, 0xc000195380, 0x15, 0xc0001b0240)
        /home/runner/work/AVMeta/AVMeta/pkg/cmd/root.go:82 +0x65
created by github.com/ylqjgm/AVMeta/pkg/cmd.(*Executor).rootRunFunc
        /home/runner/work/AVMeta/AVMeta/pkg/cmd/root.go:72 +0x260

D:\test>ren 010915_01.mp4 010915_001.mp4

D:\test>dir
 驱动器 D 中的卷没有标签。
 卷的序列号是 2453-EA28

 D:\test 的目录

2020/06/17  23:27    <DIR>          .
2020/06/17  23:27    <DIR>          ..
2019/10/28  22:51     1,073,741,824 010915_001.mp4
2020/03/29  21:40        11,090,944 AVMeta.exe
2020/06/17  23:26               382 config.yaml
               3 个文件  1,084,833,150 字节
               2 个目录 318,827,421,696 可用字节

D:\test>AVMeta.exe

共探索到 1 个视频文件, 开始刮削整理...

文件: [D:\test\010915_001.mp4] 刮削失败, 错误原因: 404 Not Found

D:\test>AVMeta.exe version
Version:        1.0.1
Git commit:     34daaf4
Built:          2020-03-29T13:38:59Z
Go Version:     go1.14.1
Platform:       windows/amd64

NFO 转 VSMETA 的文件名问题

操作系统: Windows 10 x64
Go版本: 1.17.6 windows/amd64
AVMeta版本: v1.0.3

NFO 是以前用其他工具刮削的,NFO 文件名和 title 都是 [番号 - 影片名] 的命名,转换成 VSMETA 后名字变成纯番号导致 Video Station 无法识别了。

QQ截图20220414071902

刮削失败javdb404

操作系统: Windows 10 x64
Go版本: 1.19.1
AVMeta版本: v1.0.3
配置信息:
将敏感信息替换为*号
错误信息:
文件/番号: FC2PPV-1486957.mp4] 第 2 次刮削失败,刮削来源:[JavDB],错误原因:fc2ppv-1486957 [Search]: https://javdb.com/search?q=FC2PPV-1486957&f=all [fetch]: 404 Not Found ID

几个小问题

黑群晖ds3617完美运行,感谢作者贡献,说几个实际使用中的小问题:
1、预编译版没有更新,我先用的预编译版然后报错找不到封面,后来才发现是预编译还在1.0.1,更新为源码版解决。
2、javdb免翻地址已变为javdb8,原来的地址被废弃了
3、封面图和大部分信息都可以获取,但标题几乎没有更改(保留了我群晖里纯番号的命名格式),少部分演出者是可以在cmd下的一些网站上找到的但还是显示未知作者,想问一下脚本是如何选择爬取哪个网站的
祝生活愉快

代理设置问题

系统:Windows10 、MacOS
网络环境:软路由+Passwall,本机192.168.60.171可正常访问外网。
设置proxy: "socks5://127.0.0.1:1080"
文件/番号: [xxx.mp4/xxx] 刮削失败, 错误原因:
proxyconnect tcp: dial tcp 127.0.0.1:1080: connect: connection refused

尝试 proxy: "socks5://192.168.60.171:1080"、proxy: "socks5://192.168.60.1:1080"、proxy: "http://192.168.60.1:1080"均提示 connect: connection refused

部分号码找不到

操作系统: Windows 10 x64
Go版本: 1.17.6 windows/amd64
AVMeta版本: v1.0.3
配置信息:
将敏感信息替换为*号
错误信息:
[Info]: 2022/02/09 17:42:02 pack.go:270: 文件 [Y:\jmost\test\IQQQ-24.mp4] 第 1 次刮削失败,刮削来源:[JavDB],错误原因:iqqq-24 [Search]: https://javdb4.com/search?q=IQQQ-24&f=all [Request]: Get "https://javdb4.com/search?q=IQQQ-24&f=all": EOF
[Info]: 2022/02/09 17:42:02 pack.go:270: 文件 [Y:\jmost\test\IQQQ-25.mp4] 第 1 次刮削失败,刮削来源:[JavDB],错误原因:iqqq-25 [Search]: https://javdb4.com/search?q=IQQQ-25&f=all [Request]: Get "https://javdb4.com/search?q=IQQQ-25&f=all": EOF
[Info]: 2022/02/09 17:42:05 pack.go:270: 文件 [Y:\jmost\test\IQQQ-25.mp4] 第 2 次刮削失败,刮削来源:[JavBus],错误原因:https://www.javbus.com/IQQQ-25 [Http Status]: 404
[Info]: 2022/02/09 17:42:05 pack.go:270: 文件 [Y:\jmost\test\IQQQ-24.mp4] 第 2 次刮削失败,刮削来源:[JavBus],错误原因:https://www.javbus.com/IQQQ-24 [Http Status]: 404

感谢作者, 提两个小需求

首先感谢作者, 有两个小需求看看作者是否有计划支持, 可否支持docker? 另外, 可否独立出一个nfo2vsmeta的程序?

有无办法下载的封面和背景是大于200kb的图片?

  1. 有无办法下载的封面和背景是大于200-300kb的图片?
  • 目前封面有的是50kb太小了。
  1. 有无办法将某个老师的所有封面和背景下载下来的办法?
  • 想进行一些相册收藏。
  1. 程序对文件名必须要求是番号吗?好像加了中文字后就不行了。

  2. 挂代理前4次能刮削成功,再往后都是[Http Status]: 404 ,是不是被反爬策略禁止了?

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.