Code Monkey home page Code Monkey logo

Comments (6)

sdaqo avatar sdaqo commented on June 5, 2024 2

Yeah we can extract the method used in line 397 to a new function and apply it to both the file name and the directory name

from anipy-cli.

sdaqo avatar sdaqo commented on June 5, 2024 1

should work now in 2.4.20

from anipy-cli.

XaaRii avatar XaaRii commented on June 5, 2024

I seem to have the same problem, tried downloading an anime with ":" in the name and it threw 'invalid directory name' error at me

anipy-cli: latest build (v2.4.25)
OS: win10 21H2
Python 3.10.5

sys.platform -> 'win32'

not sure where the problem is... is there a simple way to force it? I'm not really keen on hacking it on every update.
edit: Oh yeah sorry for posting in a closed issue, making a new one seemed like a waste..

from anipy-cli.

sdaqo avatar sdaqo commented on June 5, 2024

Ah yes last time I only made it replace the chars in the name of the video file not for the directory. Will patch this.

from anipy-cli.

SquidDudeGB avatar SquidDudeGB commented on June 5, 2024

I got around the issue by forcing a folder name temporarily in downloader.py, end of line 40.
I think the issue lies there, it grabs the show name and uses that too name the folder, but if the show has any banned characters in the name the folder can't be made.

from anipy-cli.

sdaqo avatar sdaqo commented on June 5, 2024

Fixed in v2.2.27

from anipy-cli.

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.