Comments (5)
再加一个
subfinder.py /abc/Transformers.The.Last.Knight.2017.REPACK.720p.BluRay.x264-WiKi
报错
Find 1 videos
Traceback (most recent call last):
File "./subfinder.py", line 359, in
main(path, output, threads, languages, recursive, compress)
File "./subfinder.py", line 317, in main
recursive, compress)
File "./subfinder.py", line 284, in downloadManySubs
for i in range(threads):
TypeError: 'float' object cannot be interpreted as an integer
直接查找文件,过了
subfinder.py /abc/Transformers.The.Last.Knight.2017.REPACK.720p.BluRay.x264-WiKi/Transformers.The.Last.Knight.2017.REPACK.720p.BluRay.x264-WiKi.mkv
from subfinder.
第一个错误应该是接口异常,没有正确返回json数据。你可以再试试。
第二个错误我提交新的代码了。
from subfinder.
/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py /mnt/zfsrz2/share/downloads/movie/The.Hobbit.1-3.2012-2014.Extended.Edition.BluRay.1080p.DTS-HD.MA.7.1.2Audio.x265-EPiC/
Find 3 videos
一样,找了哈利波特的
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py", line 223, in run
sub_info_list = getSubInfo(f, lang)
File "/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py", line 147, in getSubInfo
return res.json()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Finish.find 0 subtitles,0 sucessed,0 failed,0 files not found subtitle
找变形金刚
/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py /mnt/zfsrz2/share/downloads/movie/01del/Transformers.The.Last.Knight.2017.REPACK.720p.BluRay.x264-WiKi/
Find 2 videos
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py", line 223, in run
sub_info_list = getSubInfo(f, lang)
File "/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py", line 134, in getSubInfo
filehash = computerVideoHash(videofile)
File "/mnt/zfsrz2/bak/Scripts/transmission/subfinder.py", line 106, in computerVideoHash
fp.seek(pos, 0)
OSError: [Errno 22] Invalid argument
Finish.find 0 subtitles,0 sucessed,0 failed,0 files not found subtitle
from subfinder.
你熟悉python吗?建议你自己调试一下。
我这边无法复现json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
和OSError: [Errno 22] Invalid argument
这两个错误
from subfinder.
我初学,我觉得可能和我系统变量有关系,有进展我更新你。谢谢你的回复
from subfinder.
Related Issues (20)
- 您好目前支持的平台(射手字幕网, 字幕库, SubHD),url都更新了,直接通过conf修改不生效能帮忙更新么 HOT 1
- 想问下有考虑增加其他方式获取影片名称吗?
- Subhd下载部分代码问题
- 最近字幕网站好多都不能用了? HOT 5
- 貌似 -l 指定语言不生效。 HOT 2
- 增加opensubtitles HOT 2
- 多个字幕自动添加序号有时会缺少 ‘.’ 分隔 HOT 5
- zimuku的api网址又变了 HOT 1
- subhd无法下载字幕 HOT 1
- 下载下来的字幕在文件名会出现 00031,00053.srt , 00033.zh.srt
- 如何才能把下载的增加名字 xxx.zh.srt 或者 xxx.en.srt
- Windows GUI版本
- 该文件没有与之关联的应用来执行该操作 HOT 1
- 人人字幕站复活了,请大佬适配回来呀~~ HOT 3
- win下这个subfinder.exe打开后就是一个选文件和文件夹的对话框,怎么加参数来搜索字幕?搞了好久没搞懂。 HOT 5
- subfinder v2.2.1 用命令搜索字幕时出现错误。 HOT 1
- mac上运行显示错误no such file or dictionary
- shooter网站证书过期导致无法匹配 HOT 1
- 可以更新一下Docker版本吗,好像不能用了
- Windows右键菜单bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subfinder.