Git Product home page Git Product logo

Comments (4)

NormanBB avatar NormanBB commented on June 30, 2024

在使用脚本过程中,运行 getsub --debug The.Morning.Show.S01

发生以下错误。

PS F:\The.Morning.Show.S01.720p.ATVP.WEB-DL.DDP5.1.Atmos.x264-MZABI[rartv]> getsub --debug The.Morning.Show.S01

- Video: The.Morning.Show.S01
- Video Path: The.Morning.Show.S01
- Subtitles Store Path: F:\The.Morning.Show.S01.720p.ATVP.WEB-DL.DDP5.1.Atmos.x264-MZABI[rartv]

ERROR:'NoneType' object has no attribute 'group'.  failed to guess one subtitle,use '-q' to try query mode.

===============================FAILED LIST===============================

1. name: The.Morning.Show.S01
   path: The.Morning.Show.S01
   info: 'NoneType' object has no attribute 'group'.  failed to guess one subtitle,use '-q' to try query mode.
   TRACE_BACK: Traceback (most recent call last):
 File "c:\users\lenovo\appdata\local\programs\python\python38-32\lib\site-packages\getsub\main.py", line 170, in start
   error, extract_sub_names = self.process_video(one_video, video_info)
 File "c:\users\lenovo\appdata\local\programs\python\python38-32\lib\site-packages\getsub\main.py", line 117, in process_video
   sub_dict = self.get_search_results(video_name)
 File "c:\users\lenovo\appdata\local\programs\python\python38-32\lib\site-packages\getsub\main.py", line 64, in get_search_results
   result = downloader.get_subtitles(video_name, sub_num=self.sub_num)
 File "c:\users\lenovo\appdata\local\programs\python\python38-32\lib\site-packages\getsub\downloader\zimuku.py", line 159, in get_subtitles
   season_cn1 = re.search("第(.*)季", title).group(1).strip()
AttributeError: 'NoneType' object has no attribute 'group'


total: 1  success: 0  fail: 1

看了一下代码,应该是有字幕搜索结果的,但是re没有搜索到符合条件的结果。

from getsubtitles.

gyh1621 avatar gyh1621 commented on June 30, 2024

这两天会推上去

from getsubtitles.

gyh1621 avatar gyh1621 commented on June 30, 2024

已推,麻烦更新到 1.7.7

from getsubtitles.

NormanBB avatar NormanBB commented on June 30, 2024

已推,麻烦更新到 1.7.7

:)

from getsubtitles.

Related Issues (20)

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.